|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of a shapecast hit. More...
#include <GREM/physics/collision.hpp>
Public Attributes | |
| 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 pointing away from the surface of the second object and towards the surface of the first object. | |
| Distance | distance |
| Distance at which the hit occured. | |
Result of a shapecast hit.
| N | number of dimensions of the world space (must be 2 or 3). |
| Pair<Length<N> > grem::physics::ShapecastHit< N >::localOffsets |
Offsets from the objects' centers of mass in shape-local space at which the collision occured.
| Direction<N> grem::physics::ShapecastHit< N >::normal |
Unit vector pointing away from the surface of the second object and towards the surface of the first object.
| Distance grem::physics::ShapecastHit< N >::distance |
Distance at which the hit occured.