>Void</span></code></p></h3><div class="doc"><p></p></div></div><div class="platform platform-types"><a name="setupMass"></a><h3><p><code><span class="keyword">function</span> <a href="#setupMass"><span class="identifier">setupMass</span></a>(?type:<span class="type">Int</span> = 1, ?adjustPosition:<span class="type">Bool</span> = true):<span class="type">Void</span></code></p></h3><div class="doc"><p>Calulates mass datas(center of gravity, mass, moment inertia, etc...).
If the parameter type is set to BODY