FAnimPhys::ScaleRigidBodyMass

Scale the mass and inertia properties of a rigid body

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h

Include

#include "Animation/AnimPhysicsSolver.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp

Syntax

static void ScaleRigidBodyMass
(
    FAnimPhysRigidBody * InOutRigidBody,
    float Scale
)

Remarks

Scale the mass and inertia properties of a rigid body

Parameters

Parameter

Description

InOutRigidBody

Body to modify

Scale

Scale to use

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