Interface IPhysicsPointProximityQuery
interface IPhysicsPointProximityQuery {
collisionFilter: IRaycastQuery;
ignoreBody?: PhysicsBody;
maxDistance: number;
position: Vector3;
shouldHitTriggers: boolean;
}
collisionFilter: IRaycastQuery;
ignoreBody?: PhysicsBody;
maxDistance: number;
position: Vector3;
shouldHitTriggers: boolean;
}
Index
Properties
collision Filter
Collision filter for the query.
Optionalignore Body
Should the query ignore the body that is passed in?
max Distance
maxDistance: number
Maximum distance to check for collisions. Can be set to 0 to check for overlaps.
position
The position of the query
should Hit Triggers
shouldHitTriggers: boolean
Should trigger collisions be considered in the query?
Interface for point proximity query.