5.12: Collision Events in Box2D – The Nature of Code

[ad_1]
This video demonstrates how to listen for collisions and trigger events at the moment of collision in Box2D.

Read along:

(Note to self: I forgot to mention how to deal with deleting/modifying the body upon collision.)

Help us caption & translate this video!


Posted

in

by

Tags:

Comments

4 responses to “5.12: Collision Events in Box2D – The Nature of Code”

  1. Tj Cherry Avatar

    what if a body consists of multiple fixtures?

  2. Julian Puppo Avatar

    Okay, so I found a weird bug.

    Im usinga "chainshape" to display the surface as it was told in tutorial 5.6.

    Everytime the particles touches the chainshape of the "surface " object" collisions just stop working.

    I´ve even try just blending your examples with no code change and this is still happening.

    It pop´s out a weird java error.

  3. Hosam S Avatar

    Thank you for the nice book/videos!

Leave a Reply

Your email address will not be published. Required fields are marked *