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
Name | Type | Description |
---|---|---|
collideWithAreas [get, set]
|
bool | If true , the query will take Area s into account.
|
collideWithBodies [get, set]
|
bool | If true , the query will take PhysicsBody s into account.
|
collisionMask [get, set]
|
long | The physics layer(s) the query will take into account (as a bitmask). |
exclude [get, set]
|
Array | The list of objects or object RID s that will be excluded from collisions.
|
margin [get, set]
|
double | The collision margin for the shape. |
shapeRid [get, set]
|
RID | The queried shape's RID . See also setShape .
|
transform [get, set]
|
Transform | The queried shape's transform matrix. |
Methods
Name | Description |
---|---|
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
|