Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Physics::SClosestRaycastResult Struct Reference

Result structure for a raycast that returns only the closest hit. More...

#include <PhysicsEngine/CPhysicsRaycast.h>

Public Attributes

CColliderCollider
 Closest collider hit by the ray.
CRigidbodyBody
 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.

Detailed Description

Result structure for a raycast that returns only the closest hit.


The documentation for this struct was generated from the following file: