add discharge collision detection

This commit is contained in:
Asraelite 2016-03-30 19:35:05 +01:00
parent f87aa1446d
commit 44ddaacb15
3 changed files with 40 additions and 4 deletions

View file

@ -4,6 +4,9 @@
// so most changes done to it should be mirrored there to keep consistent
// physics between client and server.
// TODO: Put all physics constants into a JSON file that is sent to the client
// as well so that the top paragraph no longer applies.
// Note:
// b2Body.GetWorldPoint is broken or something and to get it to work, you
// must pass an object as the second argument. I don't think it matters what