use collidesWith for bow.js workaround

This commit is contained in:
Andrew Meadows 2016-01-14 13:03:31 -08:00
parent db77f22a61
commit d990482c0a

View file

@ -540,7 +540,7 @@
var arrowProperties = {
dynamic: true,
collisionless: false,
collisionMask: "static,dynamic,otherAvatar", // workaround: not with kinematic --> no collision with bow
collidesWith: "static,dynamic,otherAvatar", // workaround: not with kinematic --> no collision with bow
velocity: releaseVelocity,
gravity: ARROW_GRAVITY,
lifetime: 10,