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
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