PhysicsShapeQueryParameters

Inherits: Reference < Object Parameters to be sent to a 3D shape physics query.

Description

This class contains the shape and other parameters for 3D intersection/collision queries.

Properties

Methods

Property Descriptions

  • bool collide_with_areas true, the query will take Areas into account.

  • bool collide_with_bodies true, the query will take PhysicsBodys into account.

  • int collision_mask Collision layers and masks in the documentation for more information.

  • Array exclude RIDs that will be excluded from collisions.

  • float margin The collision margin for the shape.

  • RID shape_rid RID. See also set_shape.

  • Transform transform The queried shape’s transform matrix.

    Method Descriptions

  • set_shape ( Resource shape ) Shape that will be used for collision/intersection queries.