mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 12:57:34 +02: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 = {
|
||||
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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue