Get Center Of Mass

Get Center Of Mass

Windows
MacOS
Linux

Get the center of mass of a single body. In the case of a welded body this will return the center of mass of the entire welded body (including its parent and children) Objects that are not simulated return (0,0,0) as they do not have COM

Target is Primitive Component

Get Center Of Mass
Target
Bone Name
None
Return Value
X0
Y 0
Z 0

Inputs

Target
Primitive Component Object Reference
Bone Name
Name

If a SkeletalMeshComponent, name of body to get center of mass of. 'None' indicates root body.

Outputs

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