![]() |
Skylicht Engine
|
Result structure for a raycast that returns all hits. More...
#include <PhysicsEngine/CPhysicsRaycast.h>
Public Attributes | |
| core::array< CCollider * > | Colliders |
| Array of colliders hit by the ray. | |
| core::array< CRigidbody * > | Bodies |
| Array of rigid bodies hit by the ray. | |
| core::vector3df | RayFromWorld |
| Ray start position in world space. | |
| core::vector3df | RayToWorld |
| Ray end position in world space. | |
| core::array< core::vector3df > | HitNormalWorld |
| Normals at hit points in world space. | |
| core::array< core::vector3df > | HitPointWorld |
| Hit positions in world space. | |
| core::array< float > | HitFractions |
| Hit fractions (0 to 1) along the ray. | |
Result structure for a raycast that returns all hits.