CollisionShape

Inherits: Spatial < Node < Object Node that represents collision shape data in 3D space.

Description

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.shape_owner_get_shape to get the actual shape.

Tutorials

  • Physics introduction
  • 3D Kinematic Character Demo
  • 3D Platformer Demo
  • Third Person Shooter Demo

    Properties

    Methods

    Property Descriptions

  • bool disabled A disabled collision shape has no effect in the world.

  • Shape shape The actual shape owned by this collision shape.

    Method Descriptions

  • make_convex_from_brothers ( ) MeshInstance siblings geometry.

  • resource_changed ( Resource resource ) If this method exists within a script it will be called whenever the shape resource has been modified.