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

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