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