mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
bullets smaller and slower
This commit is contained in:
parent
909663fe96
commit
8efd09befa
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ function checkController() {
|
|||
var fingerTipController = palmController + 1;
|
||||
var fingerTipPosition = Controller.getSpatialControlPosition(fingerTipController);
|
||||
|
||||
var bulletSize = 0.25/TREE_SCALE;
|
||||
var bulletSize = 0.05/TREE_SCALE;
|
||||
|
||||
var palmInParticleSpace =
|
||||
{ x: palmPosition.x/TREE_SCALE,
|
||||
|
@ -73,7 +73,7 @@ function checkController() {
|
|||
y: tipInParticleSpace.y + palmToFingerTipVector.y/2,
|
||||
z: tipInParticleSpace.z + palmToFingerTipVector.z/2};
|
||||
|
||||
var linearVelocity = 50; // 50 meters per second
|
||||
var linearVelocity = 5;
|
||||
|
||||
var velocity = { x: palmToFingerTipVector.x * linearVelocity,
|
||||
y: palmToFingerTipVector.y * linearVelocity,
|
||||
|
|
Loading…
Reference in a new issue