1 / 5

Lab 5 Collision Detection

Lab 5 Collision Detection. Prasan Samtani psamtani@usc.edu. WARNING : LAUGHING AT MY ART WILL QUALIFY YOU FOR AN AUTOMATIC ‘F’. Sphere Plane Collision. Review:

mccullar
Download Presentation

Lab 5 Collision Detection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 5Collision Detection Prasan Samtani psamtani@usc.edu WARNING : LAUGHING AT MY ART WILL QUALIFY YOU FOR AN AUTOMATIC ‘F’

  2. Sphere Plane Collision • Review: • The distance between a sphere and a plane is N.P - D, where N is the plane normal and P is the vector from the origin to the centre of the sphere

  3. Collision Response • Collision Response refers to the actions that take place after a collision has been detected: • A punch to the face might blow up an enemy in an outrageously stupid game • For the purposes of this lab, no response is required • However, I seek to tempt you with extra credit ;)

  4. Collision Response Contd.

  5. Collision Response Contd.

More Related