YaQueryParameter¶
Beta
YaQueryParameter manages parameters for physics queries.
Functions¶
YaQueryParameter YaQueryParameter.Instance()Beta
Creates the object to query parameters for.
Returns the physics layer to query.
YaQueryParameter QueryAllPhysicsLayer()Beta
Queries all layers in the scene.
Ignores a specified physics layer. Call QueryAllPhysicsLayer to find all physics layers.
Enables the query of trigger boxes.
Enables the query of interactive objects.
Enables the query of DisableCollide entity.
Defines the sphere space in which parameters are queried. This API only works for PhysicsAPI.Overlap.
Defines the box space in which parameters are queried. This API only works for PhysicsAPI.Overlap.
size
box size
Defines the capsule space in which parameters are queried. This function only works for PhysicsAPI.Overlap.
Queries in a half cylinder area.
Queries the direction of the geometric shape, except for GeometryCapsule and GeometrySphere. This function only works for PhysicsAPI.Overlap.
Queries the rotation of the geometric shape. This function only works for PhysicsAPI.Overlap.
Queries the offset of the geometric shape. This function only works for PhysicsAPI.Overlap.
Adds a group to ignore in the query. If you call this function multiple times, only the group in the last call is ignored.
Adds a team to ignore in the query.
Ignores the dead.
Queries the nearest object.