Jump to content

Get velocity of a body just before collision P2


iceman_w
 Share

Recommended Posts

  • 11 months later...

Also wondering about this.. Only thing I could think of is to save the velocities at the start of the step and then on collision look up the velocity...

You could try asking it as an issue on Github for the creator of p2, https://github.com/schteppe/p2.js/issues

Edit: what about this? http://stackoverflow.com/questions/23587975/detect-impact-force-in-phaser-with-p2js

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...