mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
disable collisions between arrow and bow
(the bow is currently kinematic while held)
This commit is contained in:
parent
6f85ee135f
commit
3aa1837e07
1 changed files with 2 additions and 1 deletions
|
@ -540,6 +540,7 @@
|
||||||
var arrowProperties = {
|
var arrowProperties = {
|
||||||
collisionsWillMove: true,
|
collisionsWillMove: true,
|
||||||
ignoreForCollisions: false,
|
ignoreForCollisions: false,
|
||||||
|
collisionMask: "static,dynamic,otherAvatar", // workaround: not with kinematic --> no collision with bow
|
||||||
velocity: releaseVelocity,
|
velocity: releaseVelocity,
|
||||||
gravity: ARROW_GRAVITY,
|
gravity: ARROW_GRAVITY,
|
||||||
lifetime: 10,
|
lifetime: 10,
|
||||||
|
@ -612,4 +613,4 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
return new Bow();
|
return new Bow();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue