UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SweepsMTD.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "Chaos/Core.h"
5
6namespace Chaos::Sweeps
7{
8 void SphereSphereMTD(const FVec3& Sphere0Center, const FReal Sphere0Radius, const FVec3& Sphere1Center, const FReal Sphere1Radius, FReal& OutTime, FVec3& OutPosition, FVec3& OutNormal);
9
10 void AabbSphereMTD(const FVec3& AabbMin, const FVec3& AabbMax, const FVec3& SphereCenter, const FReal SphereRadius, FReal& OutTime, FVec3& OutPosition, FVec3& OutNormal);
11
12 void CapsuleSphereMTD(const FVec3& CapsuleX1, const FVec3& CapsuleX2, const FReal CapsuleRadius, const FVec3& SphereCenter, const FReal SphereRadius, FReal& OutTime, FVec3& OutPosition, FVec3& OutNormal);
13} // namespace Chaos::Sweeps
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Sweeps.cpp:8
void AabbSphereMTD(const FVec3 &AabbMin, const FVec3 &AabbMax, const FVec3 &SphereCenter, const FReal SphereRadius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
Definition SweepsMTD.cpp:23
void CapsuleSphereMTD(const FVec3 &CapsuleX1, const FVec3 &CapsuleX2, const FReal CapsuleRadius, const FVec3 &SphereCenter, const FReal SphereRadius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
Definition SweepsMTD.cpp:66
void SphereSphereMTD(const FVec3 &Sphere0Center, const FReal Sphere0Radius, const FVec3 &Sphere1Center, const FReal Sphere1Radius, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
Definition SweepsMTD.cpp:6
FRealDouble FReal
Definition Real.h:22
TVector< FReal, 3 > FVec3
Definition Core.h:17