Navigation
API > API/Runtime > API/Runtime/Engine
Information about one contact between a pair of rigid bodies.
| Name | FRigidBodyContactInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
USTRUCT ()
struct FRigidBodyContactInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Engine/EngineTypes.h | |||
FRigidBodyContactInfo
(
const FVector& InContactPosition, |
Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bContactProbe | bool | Was this contact generated by a probe constraint | Engine/EngineTypes.h | |
| ContactNormal | FVector | Normal of contact, points from second shape towards first shape | Engine/EngineTypes.h | |
| ContactPenetration | float | How far the two shapes penetrated into each other | Engine/EngineTypes.h | |
| ContactPosition | FVector | Position of contact, where two shapes intersect | Engine/EngineTypes.h | |
| PhysMaterial | TObjectPtr< class UPhysicalMaterial > | The physical material of the two shapes involved in a contact | Engine/EngineTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SwapOrder() |
Swap the order of info in this info | Engine/EngineTypes.h |