MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / checkTriggers

Method checkTriggers

Engine/source/T3D/rigidShape.cpp:1482–1486  ·  view source on GitHub ↗

---------------------------------------------------------------------------- Check collisions with trigger and items Perform a container search using the current bounding box of the main body, wheels are not included. This method should only be called on the server. */

Source from the content-addressed store, hash-verified

1480only be called on the server.
1481*/
1482void RigidShape::checkTriggers()
1483{
1484 Box3F bbox = mConvex.getBoundingBox(getTransform(), getScale());
1485 gServerContainer.findObjects(bbox,sTriggerMask,findCallback,this);
1486}
1487
1488/** The callback used in by the checkTriggers() method.
1489The checkTriggers method uses a container search which will

Callers

nothing calls this directly

Calls 2

findObjectsMethod · 0.80
getBoundingBoxMethod · 0.45

Tested by

no test coverage detected