Node that represents collision shape data in 3D space.
Editor facility for creating and editing collision shapes in 3D space. Set the [member shape] property to configure the shape. [b]IMPORTANT[/b]: this is an Editor-only helper to create shapes, use [method CollisionObject.shape_owner_get_shape] to get the actual shape. You can use this node to represent all sorts of collision shapes, for example, add this to an [Area] to give it a detection shape, or add it to a [PhysicsBody] to create a solid object. [b]Warning:[/b] A non-uniformly scaled CollisionShape3D node will probably not function as expected. Please make sure to keep its scale uniform (i.e. the same on all axes), and change the size of its [member shape] resource instead.
$DOCS_URL/tutorials/physics/physics_introduction.html https://godotengine.org/asset-library/asset/126 https://godotengine.org/asset-library/asset/125 https://godotengine.org/asset-library/asset/678
Sets the collision shape's shape to the addition of all its convexed [MeshInstance] siblings geometry.
If this method exists within a script it will be called whenever the shape resource has been modified.
- A disabled collision shape has no effect in the world.
- The actual shape owned by this collision shape.