50 likes | 97 Views
This lab explores the collision detection between a sphere and a plane, providing insights on distance calculations and collision response scenarios. No responses are needed but extra credit offers may tempt you. Have fun experimenting!
E N D
Lab 5Collision Detection Prasan Samtani psamtani@usc.edu WARNING : LAUGHING AT MY ART WILL QUALIFY YOU FOR AN AUTOMATIC ‘F’
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
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 ;)