From 3aa1837e072883b0b3c4ec2c1e9f8b9066f10690 Mon Sep 17 00:00:00 2001 From: "U-GAPOS\\andrew" Date: Wed, 13 Jan 2016 16:57:51 -0800 Subject: [PATCH] disable collisions between arrow and bow (the bow is currently kinematic while held) --- examples/toybox/bow/bow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/toybox/bow/bow.js b/examples/toybox/bow/bow.js index 44fe33bb31..c04bb7a72c 100644 --- a/examples/toybox/bow/bow.js +++ b/examples/toybox/bow/bow.js @@ -540,6 +540,7 @@ var arrowProperties = { collisionsWillMove: true, ignoreForCollisions: false, + collisionMask: "static,dynamic,otherAvatar", // workaround: not with kinematic --> no collision with bow velocity: releaseVelocity, gravity: ARROW_GRAVITY, lifetime: 10, @@ -612,4 +613,4 @@ }; return new Bow(); -}); \ No newline at end of file +});