Transcript Click Here

Lab 5
Collision Detection
WARNING :
LAUGHING AT MY
ART WILL QUALIFY
YOU FOR AN
AUTOMATIC ‘F’
Prasan Samtani
[email protected]
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 ;)
Collision Response Contd.
Collision Response Contd.