UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Raycasts.h File Reference
#include "Chaos/Core.h"

Go to the source code of this file.

Namespaces

namespace  Chaos
 
namespace  Chaos::Raycasts
 

Functions

template<typename T , int d>
CHAOSCORE_API bool Chaos::Raycasts::RayAabb (const TVector< FReal, d > &RayStart, const TVector< FReal, d > &RayDir, const FReal RayLength, const FReal RayThickness, const TVector< T, d > &AabbMin, const TVector< T, d > &AabbMax, FReal &OutTime, TVector< FReal, d > &OutPosition, TVector< FReal, d > &OutNormal, int32 &OutFaceIndex)
 
template<typename T , int d>
FORCEINLINE bool Chaos::Raycasts::RayAabb (const TVector< FReal, d > &RayStart, const TVector< FReal, d > &RayDir, const TVector< FReal, d > &InvRayDir, const bool *bRayParallel, const FReal RayLength, const TVector< T, d > &AabbMin, const TVector< T, d > &AabbMax, FReal &OutEntryTime, FReal &OutExitTime)
 
bool Chaos::Raycasts::RayCapsule (const FVec3 &RayStart, const FVec3 &RayDir, const FReal RayLength, const FReal RayThickness, FReal CapsuleRadius, FReal CapsuleHeight, const FVec3 &CapsuleAxis, const FVec3 &CapsuleX1, const FVec3 &CapsuleX2, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
template<typename T , int d>
bool Chaos::Raycasts::RaySphere (const TVector< T, d > &RayStart, const TVector< T, d > &RayDir, const T RayLength, const T RayThickness, const FVec3f &SphereCenter, const FRealSingle SphereRadius, T &OutTime, TVector< T, d > &OutPosition, TVector< T, d > &OutNormal)