Changes

Jump to navigation Jump to search

Category:Physics Engine/Misc

7 bytes removed, 09:00, 18 July 2012
no edit summary
Line 100: Line 100:  
<pre style="margin-left:20px; font-size:1.4em; background-color:#fdfdfd">inertia = physics.misc.momentForPoly(mass, vertices, offset)
 
<pre style="margin-left:20px; font-size:1.4em; background-color:#fdfdfd">inertia = physics.misc.momentForPoly(mass, vertices, offset)
 
</pre><!-- code end--> <!-- table start -->  
 
</pre><!-- code end--> <!-- table start -->  
{| border="1" width="100%" cellspacing="0" cellpadding="4" style="border-color:#eee" class="wikitable sortable"
+
{| border="1" width="100%" cellspacing="0" cellpadding="4" style="border-color:#eee" class="wikitable"
 
|-
 
|-
 
! Parameter  
 
! Parameter  
Line 110: Line 110:  
| The mass of the polygon
 
| The mass of the polygon
 
|-
 
|-
| vertices '''in''' physics.Vect  
+
| vertices
 +
| '''in''' physics.Vect  
 
| A list of vertices defining the shape of the polygon
 
| A list of vertices defining the shape of the polygon
 
|-
 
|-

Navigation menu