iceman_w Posted July 9, 2015 Share Posted July 9, 2015 Is there an option to set a pre collision hook? Thanks. Link to comment Share on other sites More sharing options...
megabyterain Posted July 7, 2016 Share Posted July 7, 2016 I was wondering this too. Did you ever figure it out? Link to comment Share on other sites More sharing options...
Threedy Posted July 8, 2016 Share Posted July 8, 2016 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 More sharing options...
Recommended Posts