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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback