UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Raycasts.cpp File Reference
#include "Chaos/Raycasts.h"
#include "Chaos/AABB.h"
#include "Chaos/CoreSphere.h"
#include "Chaos/CoreCapsule.h"
#include "Chaos/CorePlane.h"

Namespaces

namespace  Chaos
 
namespace  Chaos::Raycasts
 

Functions

template<typename T , int d>
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)
 
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 bool Chaos::Raycasts::RayAabb< Chaos::FRealSingle, 3 > (const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, const FReal, const FReal, const TVector< FRealSingle, 3 > &, const TVector< FRealSingle, 3 > &, FReal &, TVector< FReal, 3 > &, TVector< FReal, 3 > &, int32 &)
 
template bool Chaos::Raycasts::RayAabb< Chaos::FReal, 3 > (const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, const FReal, const FReal, const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, FReal &, TVector< FReal, 3 > &, TVector< FReal, 3 > &, int32 &)