UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Sweeps Namespace Reference

Enumerations

enum class  ESweepFlags { None = 0 , MTD = (1 << 9) }
 

Functions

bool SweepSphereVsSphere (const FVec3 &SweepStart, const FVec3 &SweepDir, const FReal SweepLength, const FReal Sphere0Radius, const FVec3 &Sphere1Center, const FReal Sphere1Radius, const ESweepFlags Flags, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
bool SweepSphereVsAabb (const FVec3 &SweepStart, const FVec3 &SweepDir, const FReal SweepLength, const FReal SphereRadius, const FVec3 &AabbMin, const FVec3 &AabbMax, const ESweepFlags Flags, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal, int32 &OutFaceIndex)
 
bool SweepSphereVsCapsule (const FVec3 &SweepStart, const FVec3 &SweepDir, const FReal SweepLength, const FReal SphereRadius, const FReal CapsuleRadius, const FReal CapsuleHeight, const FVec3 &CapsuleAxis, const FVec3 &CapsuleX1, const FVec3 &CapsuleX2, const ESweepFlags Flags, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
void SphereSphereMTD (const FVec3 &Sphere0Center, const FReal Sphere0Radius, const FVec3 &Sphere1Center, const FReal Sphere1Radius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
void AabbSphereMTD (const FVec3 &AabbMin, const FVec3 &AabbMax, const FVec3 &SphereCenter, const FReal SphereRadius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
void CapsuleSphereMTD (const FVec3 &CapsuleX1, const FVec3 &CapsuleX2, const FReal CapsuleRadius, const FVec3 &SphereCenter, const FReal SphereRadius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
 ENUM_CLASS_FLAGS (ESweepFlags)
 

Enumeration Type Documentation

◆ ESweepFlags

Enumerator
None 
MTD 

Function Documentation

◆ AabbSphereMTD()

void Chaos::Sweeps::AabbSphereMTD ( const FVec3 AabbMin,
const FVec3 AabbMax,
const FVec3 SphereCenter,
const FReal  SphereRadius,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)

◆ CapsuleSphereMTD()

void Chaos::Sweeps::CapsuleSphereMTD ( const FVec3 CapsuleX1,
const FVec3 CapsuleX2,
const FReal  CapsuleRadius,
const FVec3 SphereCenter,
const FReal  SphereRadius,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)

◆ ENUM_CLASS_FLAGS()

Chaos::Sweeps::ENUM_CLASS_FLAGS ( ESweepFlags  )

◆ SphereSphereMTD()

void Chaos::Sweeps::SphereSphereMTD ( const FVec3 Sphere0Center,
const FReal  Sphere0Radius,
const FVec3 Sphere1Center,
const FReal  Sphere1Radius,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)

◆ SweepSphereVsAabb()

CHAOSCORE_API bool Chaos::Sweeps::SweepSphereVsAabb ( const FVec3 SweepStart,
const FVec3 SweepDir,
const FReal  SweepLength,
const FReal  SphereRadius,
const FVec3 AabbMin,
const FVec3 AabbMax,
const ESweepFlags  Flags,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal,
int32 OutFaceIndex 
)

◆ SweepSphereVsCapsule()

CHAOSCORE_API bool Chaos::Sweeps::SweepSphereVsCapsule ( const FVec3 SweepStart,
const FVec3 SweepDir,
const FReal  SweepLength,
const FReal  SphereRadius,
const FReal  CapsuleRadius,
const FReal  CapsuleHeight,
const FVec3 CapsuleAxis,
const FVec3 CapsuleX1,
const FVec3 CapsuleX2,
const ESweepFlags  Flags,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)

◆ SweepSphereVsSphere()

CHAOSCORE_API bool Chaos::Sweeps::SweepSphereVsSphere ( const FVec3 SweepStart,
const FVec3 SweepDir,
const FReal  SweepLength,
const FReal  Sphere0Radius,
const FVec3 Sphere1Center,
const FReal  Sphere1Radius,
const ESweepFlags  Flags,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)