Struct PhysicsShapeQueryParameters

Parameters to be sent to a 3D shape physics query.

struct PhysicsShapeQueryParameters ;

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

Properties

NameTypeDescription
collideWithAreas[get, set] boolIf true, the query will take Areas into account.
collideWithBodies[get, set] boolIf true, the query will take PhysicsBodys into account.
collisionMask[get, set] longThe physics layer(s) the query will take into account (as a bitmask).
exclude[get, set] ArrayThe list of objects or object RIDs that will be excluded from collisions.
margin[get, set] doubleThe collision margin for the shape.
shapeRid[get, set] RIDThe queried shape's RID. See also setShape.
transform[get, set] TransformThe queried shape's transform matrix.

Methods

NameDescription
getCollisionMask
getExclude
getMargin
getShapeRid
getTransform
isCollideWithAreasEnabled
isCollideWithBodiesEnabled
setCollideWithAreas
setCollideWithBodies
setCollisionMask
setExclude
setMargin
setShape Sets the Shape that will be used for collision/intersection queries.
setShapeRid
setTransform