Open main menu

CDOT Wiki β

Changes

Team Guardian Physics

396 bytes added, 23:29, 6 April 2011
CollisionGeometry and RigidBody
; Matrix orientation : Ensure that the rotation matrix has not been contaminated with any scale information, otherwise the collision tests may not return correct results. Oh, this might also be a good time to note that scaling is '''not supported''' by the physics simulator or the collision detector :)
Please Having said that, this should be enough to get your objects up and colliding. To detect all collisions at a given time in the world, call <code>populateContactList()</code> on the collision space. Retrieve the list of collisions by calling <code>getContactList()</code>; to find the number of contacts in the world, call <code>getNumContacts()</code>. For more/misc information, see the [[Team_Guardian_Physics#RigidBody |RigidBody referenceReference]] and the [[Team_Guardian_Physics#CollisionSpace |CollisionSpace Reference]] for behaviour that is expected from a RigidBody.
== Framework Reference ==