Collision Detection Iris Merilo 2016 What, where? the - - PowerPoint PPT Presentation

collision detection
SMART_READER_LITE
LIVE PREVIEW

Collision Detection Iris Merilo 2016 What, where? the - - PowerPoint PPT Presentation

Collision Detection Iris Merilo 2016 What, where? the computational problem of detecting the intersection of two or more objects (multiple meshes, a mesh and a line (hitscan)) most often associated with its use in video games and


slide-1
SLIDE 1

Collision Detection

Iris Merilo 2016

slide-2
SLIDE 2

What, where?

  • the computational problem of detecting the intersection of two or

more objects (multiple meshes, a mesh and a line (hitscan))

  • most often associated with its use in video games and other

physical simulations (+ robotics etc)

slide-3
SLIDE 3

Goals

In simulations: * making predictions for real-life scenarios * be as accurate as possible In computer games * mimic physics in a way that is acceptable (for that type of game) * do so cheaply, in real time Movies? Something in between, most likely… Self-driving cars? Not to cause accidents...

slide-4
SLIDE 4

How?

Posteriori, discrete: * Increment the simulation in small steps, see whether anything is intersecting after each step. (most games) Priori, continuous: * Pre-calculate paths, then move objects Discrete collision detection is simpler, but more likely to produce errors (objects clipping through one another).

slide-5
SLIDE 5

Problems?

  • Expensive
  • Reuse calculations.
  • Simplify objects.
  • Simplify calculations.

Bounding boxes, contact caching, “Sleeping objects”, space partitioning, pruning...

slide-6
SLIDE 6

Whoops...

slide-7
SLIDE 7

Now what?

Collision response? Deformation? Scattering? Deduct health points?

slide-8
SLIDE 8

Thank you!