|
staticprivate |
Creates a dynamic physics body from custom made geometries. The geometries are deleted when rigid body is destroyed.
| ent | Entity that will be associated with the physics body |
| centerOfMass | Offset from object-pivot to center of mass |
| mass | Body mass |
| geoms | Array of custom made geometries |