FRigidBodyCollisionInfo

Information about a specific object involved in a rigid body collision

Windows
MacOS
Linux

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss