|
Clutter Engine 0.0.1
|
Stores information about a raycast hit. More...
#include <HitResult.h>
Public Attributes | |
| bool | hitResult = false |
| True if the raycast hit something, false otherwise. | |
| clt::Actor * | Actor = nullptr |
| Pointer to the actor that was hit. | |
| clt::ColliderComponent * | Collider = nullptr |
| Pointer to the collider component that was hit. | |
| Vector3 | Point |
| The point in world space where the ray hit. | |
| Vector3 | Normal |
| The normal vector at the hit point. | |
| float | Distance = 0.0f |
| The distance from the ray origin to the hit point. | |
Stores information about a raycast hit.