- getShape
Ref!Shape getShape()
- isDisabled
bool isDisabled()
- makeConvexFromBrothers
void makeConvexFromBrothers()
Sets the collision shape's shape to the addition of all its convexed MeshInstance siblings geometry.
- opAssign
CollisionShape opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(CollisionShape other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- resourceChanged
void resourceChanged(Resource resource)
If this method exists within a script it will be called whenever the shape resource has been modified.
- setDisabled
void setDisabled(bool enable)
- setShape
void setShape(Shape shape)
Node that represents collision shape data in 3D space.
Editor facility for creating and editing collision shapes in 3D space. 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. IMPORTANT: this is an Editor-only helper to create shapes, use CollisionObject.shapeOwnerGetShape to get the actual shape.