FBodyInstanceCore

Windows
MacOS
Linux

Inheritance Hierarchy

FBodyInstanceCore

FBodyInstance

References

Module

PhysicsCore

Header

/Engine/Source/Runtime/PhysicsCore/Public/BodyInstanceCore.h

Include

#include "BodyInstanceCore.h"

Syntax

struct FBodyInstanceCore

Variables

Name Description

Public variable

uint8: 1

 

bAutoWeld

If true and is attached to a parent, the two bodies will be joined into a single rigid body.

Public variable

uint8: 1

 

bEnableGravity

If object should have the force of gravity applied

Public variable

uint8: 1

 

bGenerateWakeEvents

Should 'wake/sleep' events fire when this object is woken up or put to sleep by the physics simulation.

Public variable

TWeakObjectPtr<...

 

BodySetup

BodySetupCore pointer that this instance is initialized from

Public variable

uint8: 1

 

bOverrideMass

If true, mass will not be automatically computed and you must set it directly

Public variable

uint8: 1

 

bSimulatePhysics

If true, this body will use simulation.

Public variable

uint8: 1

 

bStartAwake

If object should start awake, or if it should initially be sleeping

Public variable

uint8: 1

 

bUpdateMassWhenScaleChanges

If true, it will update mass when scale changes

Constructors

Name Description

Public function

FBodyInstanceCore()

Destructors

Name Description

Public function Virtual

~FBodyInstanceCore()

Functions

Name Description

Public function Const

bool

 

ShouldInstanceSimulatingPhysics()

Should Simulate Physics

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