Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/PhysicsPublic.h |
Include | #include "PhysicsPublic.h" |
Syntax
struct FRigidBodyCollisionInfo
Remarks
Information about a specific object involved in a rigid body collision
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TWeakObjectPtr< AActor > | Actor | Actor involved in the collision |
![]() |
int32 | BodyIndex | Index of body if this is in a PhysicsAsset. INDEX_NONE otherwise. |
![]() |
FName | BoneName | Name of bone if a PhysicsAsset |
![]() |
TWeakObjectPtr< UPrimitiveComponent > | Component | Component of Actor involved in the collision. |
![]() |
FVector | DeltaVelocity | Amount by which the linear velocity at the center of mass of this body has changed in the frame of this contact |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FBodyInstance * | Get body instance | |
![]() |
void | SetFrom
(
const FBodyInstance* BodyInst, |
Utility to set up the body collision info from an FBodyInstance |