13.07.2015 Views

Rag doll physics simulation - NCCA People A-Z

Rag doll physics simulation - NCCA People A-Z

Rag doll physics simulation - NCCA People A-Z

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EQUATION 22: RELATION OF DISTANCES BY MASS RATIOThis leaves us to believe that by combining Equation 21 and Equation 22 we can get thedistance for body as indicated by Equation 23 and Equation 24 (Millington, 2007).EQUATION 23: DISTANCE OF CHANGE IN POSITION AFTER INTERPENETRATIONTo get the direction where bodythe equation. (See Equation 24)will travel to, the contact normal ( ̂) has to be included intôEQUATION 24: DISTANCE OF CHANGE IN POSITION AFTER INTERPENETRATION WITH DIRECTIONAL VECTOR4.5. Types of contactAs mentioned earlier there are 3 types of contacts for bodies in a 3D world: point contact, edgecontact and face contact.4.5.1. Point contactIn a computer generated <strong>simulation</strong> a point contact is considered the contact that occurswhen a body that has a shape with small corners with which it comes into contact with anotherbody, like in Figure 8 (Millington, 2007).Point contactFIGURE 8: POINT CONTACT BETWEEN TWO BODIES4.5.2. Edge contactThe edge contact refers to a body that touches another contact with two points from its bodythat represent a side of the colliding body (Millington, 2007). (See Figure 9)22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!