35 lines
825 B
HTML
35 lines
825 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>CalculateCompositePrincipalTransform [RCBasic Doc] </title>
|
|
</head>
|
|
|
|
<body>
|
|
<p><h2>Sub CalculateCompositePrincipalTransform(actor, ByRef masses, principal_matrix, ByRef x, ByRef y, ByRef z) </h2></p>
|
|
<p>
|
|
Calculates the center of mass and principal intertia axes for a composite actor.
|
|
</p>
|
|
<p>
|
|
Parameters:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
masses - An array with masses for each child in the compound shape
|
|
</li>
|
|
<li>
|
|
principal_matrix - This will be set to principal axis transform
|
|
</li>
|
|
<li>
|
|
(x, y, z) - Inertia
|
|
</li>
|
|
</ul>
|
|
<br><p>Related:
|
|
<a href="createcompositeactor.html">CreateCompositeActor</a>
|
|
</p>
|
|
<p>
|
|
</p>
|
|
|
|
</body>
|
|
</html> |