1 / 4

Detecting Collisions

Detecting Collisions. Collisions. Usually don’t test particle-particle collision Test collision with environment, e.g. ground Note: step overshoots collision Test for penetration back up or fixup. Handling collisions. v. N. tangential velocity v b unchanged

paxton
Download Presentation

Detecting Collisions

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. Detecting Collisions

  2. Collisions • Usually don’t test particle-particle collision • Test collision with environment, e.g. ground • Note: step overshoots collision • Test for penetration • back up or fixup

  3. Handling collisions v N • tangential velocity vbunchanged • normal velocity vnreflects: • coefficient of restitution • change of velocity = -(1+є)v • change of momentum Impulse = -m(1+є)v • Remember mirror reflection? Can be seen as photon particles

  4. Detecting collisions • Easy with implicit equations of surfaces • H(x,y,z)=0 at surface • H(x,y,z)<0 inside surface • So just compute H and you know that you’re inside if it’s negative • More complex with other surface definitions

More Related