![]() |
Skylicht Engine
|
Result structure for a raycast that returns only the closest hit. More...
#include <PhysicsEngine/CPhysicsRaycast.h>
Public Attributes | |
| CCollider * | Collider |
| Closest collider hit by the ray. | |
| CRigidbody * | Body |
| Closest rigid body hit by the ray. | |
| float | ClosestHitFraction |
| Closest hit fraction (0 to 1) along the ray. | |
| core::vector3df | RayFromWorld |
| Ray start position in world space. | |
| core::vector3df | RayToWorld |
| Ray end position in world space. | |
| core::vector3df | HitNormalWorld |
| Normal at the hit point in world space. | |
| core::vector3df | HitPointWorld |
| Hit position in world space. | |
Result structure for a raycast that returns only the closest hit.