![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineTypes.h>
Public Member Functions | |
| FRigidBodyContactInfo () | |
| FRigidBodyContactInfo (const FVector &InContactPosition, const FVector &InContactNormal, float InPenetration, bool bInProbe, UPhysicalMaterial *InPhysMat0, UPhysicalMaterial *InPhysMat1) | |
| ENGINE_API void | SwapOrder () |
Public Attributes | |
| FVector | ContactPosition |
| FVector | ContactNormal |
| float | ContactPenetration |
| bool | bContactProbe |
| TObjectPtr< class UPhysicalMaterial > | PhysMaterial [2] |
Information about one contact between a pair of rigid bodies.
|
inline |
|
inline |
| void FRigidBodyContactInfo::SwapOrder | ( | ) |
Swap the order of info in this info
| bool FRigidBodyContactInfo::bContactProbe |
Was this contact generated by a probe constraint
| FVector FRigidBodyContactInfo::ContactNormal |
Normal of contact, points from second shape towards first shape
| float FRigidBodyContactInfo::ContactPenetration |
How far the two shapes penetrated into each other
| FVector FRigidBodyContactInfo::ContactPosition |
Position of contact, where two shapes intersect
| TObjectPtr<class UPhysicalMaterial> FRigidBodyContactInfo::PhysMaterial[2] |
The physical material of the two shapes involved in a contact