FBodyInstance::SetMassSpaceLocal

TODO: this only works at runtime when the physics state has been created.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h

Include

#include "PhysicsEngine/BodyInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp

Syntax

void SetMassSpaceLocal
(
    const FTransform & NewMassSpaceLocalTM
)

Remarks

TODO: this only works at runtime when the physics state has been created. Any changes that result in recomputing mass properties will not properly remember this

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