Click or drag to resize

Physics2DShapeQueryParameters Properties

The Physics2DShapeQueryParameters type exposes the following members.

Properties
  NameDescription
Public propertyCollideWithAreas

If true, the query will take Area2Ds into account.

Public propertyCollideWithBodies

If true, the query will take PhysicsBody2Ds into account.

Public propertyCollisionLayer

The physics layer(s) the query will take into account (as a bitmask). See Collision layers and masks in the documentation for more information.

Public propertyDynamicObject
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.)
Public propertyExclude

The list of objects or object RIDs that will be excluded from collisions.

Public propertyMargin

The collision margin for the shape.

Public propertyMotion

The motion of the shape being queried for.

Public propertyNativeInstance (Inherited from Object.)
Public propertyShapeRid

The queried shape's RID. See also SetShape(Resource).

Public propertyTransform

The queried shape's transform matrix.

Top
See Also