Sub CalculateCompositePrincipalTransform(actor, ByRef masses, principal_matrix, ByRef x, ByRef y, ByRef z)
Calculates the center of mass and principal intertia axes for a composite actor.
Parameters:
-
masses - An array with masses for each child in the compound shape
-
principal_matrix - This will be set to principal axis transform
-
(x, y, z) - Inertia
Related:
CreateCompositeActor