mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +01:00
9 lines
229 B
GDScript
9 lines
229 B
GDScript
extends Node
|
|
|
|
|
|
func _enter_tree():
|
|
if System.get_physics_engine() == System.PhysicsEngine.GODOT_PHYSICS:
|
|
Log.print_error("Cylinder shapes not supported, removing '%s'." % name)
|
|
get_parent().remove_child(self)
|
|
queue_free()
|