FRigidBodyCollisionInfo

Syntax

struct FRigidBodyCollisionInfo

Remarks

Information about a specific object involved in a rigid body collision

Variables

Name Description

Public variable

TWeakObjectPtr <...

 

Actor

Actor involved in the collision

Public variable

int32

 

BodyIndex

Index of body if this is in a PhysicsAsset. INDEX_NONE otherwise.

Public variable

FName

 

BoneName

Name of bone if a PhysicsAsset

Public variable

TWeakObjectPtr <...

 

Component

Component of Actor involved in the collision.

Constructors

Name Description

Public function

FRigidBodyCollisionInfo()

Functions

Name Description

Public function Const

FBodyInstanc ...

 

GetBodyInstance()

Get body instance

Public function

void

 

SetFrom

(
    const FBodyInstance * BodyInst
)

Utility to set up the body collision info from an FBodyInstance

References

Module

Engine

Header

Runtime/Engine/Public/PhysicsPublic.h