Volume-weighted center of mass of a model's primitive geometry, in the
model's local frame: the fallback the engine uses when
IAutoMovieBody.centerOfMass is left null.
Uniform density is assumed: each primitive part contributes its analytic
solid volume (scaled by its part transform) at its transformed centroid.
Attached parts are carried by their bone's neutral model-frame transform.
Skeleton rest scale is omitted consistently with the engine's pose FK.
Mesh parts and zero-volume primitives (a plane, or a non-positive scale)
contribute nothing. Returns null when the model has no primitive volume to
weigh (a mesh-only or all-degenerate model), which is the caller's signal
that centerOfMass must be declared explicitly.
Volume-weighted center of mass of a model's primitive geometry, in the model's local frame: the fallback the engine uses when IAutoMovieBody.centerOfMass is left
null.Uniform density is assumed: each primitive part contributes its analytic solid volume (scaled by its part transform) at its transformed centroid. Attached parts are carried by their bone's neutral model-frame transform. Skeleton rest scale is omitted consistently with the engine's pose FK. Mesh parts and zero-volume primitives (a plane, or a non-positive scale) contribute nothing. Returns
nullwhen the model has no primitive volume to weigh (a mesh-only or all-degenerate model), which is the caller's signal thatcenterOfMassmust be declared explicitly.