struct
#include <esp/physics/PhysicsManager.h>
RayHitInfo Holds information about one ray hit instance.
Public variables
- int objectId
- The id of the object hit by this ray. Stage hits are -1.
-
Magnum::
Vector3 point - The first impact point of the ray in world space.
-
Magnum::
Vector3 normal - The collision object normal at the point of impact.
- double rayDistance
- Distance along the ray direction from the ray origin (in units of ray length).