FBodyInstance::UpdateBodyScale

Update Body Scale

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

bool UpdateBodyScale
(
    const FVector & InScale3D,
    bool bForceUpdate
)

Remarks

Update Body Scale

Returns

true if succeed

Parameters

Parameter

Description

InScale3D

New Scale3D. If that's different from previous Scale3D, it will update Body scale.

bForceUpdate

Will refresh shape dimensions from BodySetup, even if scale has not changed.

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