|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of a shapecast against the objects in a broadphase. More...
#include <GREM/physics/Broadphase.hpp>
Public Attributes | |
| EntityID | objectID |
| Handle to the object that the shape collided with. | |
| Pair< Length< N > > | localOffsets |
| Offsets from the objects' centers of mass in shape-local space at which the collision occured. | |
| Direction< N > | normal |
| Unit vector perpendicular to the separating plane of the collision, pointing away from the second object's surface, in world space. | |
| Distance | distance |
| Distance along the shapecast direction at which the collision occured. | |
| CollisionFilterTestResult | filterTestResult |
| Result of the collision filter test. | |
Result of a shapecast against the objects in a broadphase.
| EntityID grem::physics::Broadphase< N >::ShapecastResult::objectID |
Handle to the object that the shape collided with.
| Pair<Length<N> > grem::physics::Broadphase< N >::ShapecastResult::localOffsets |
Offsets from the objects' centers of mass in shape-local space at which the collision occured.
| Direction<N> grem::physics::Broadphase< N >::ShapecastResult::normal |
Unit vector perpendicular to the separating plane of the collision, pointing away from the second object's surface, in world space.
| Distance grem::physics::Broadphase< N >::ShapecastResult::distance |
Distance along the shapecast direction at which the collision occured.
| CollisionFilterTestResult grem::physics::Broadphase< N >::ShapecastResult::filterTestResult |
Result of the collision filter test.