mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +02:00
tilt maze
This commit is contained in:
parent
19ce178791
commit
5ed8fc534c
1 changed files with 0 additions and 1 deletions
|
@ -91,7 +91,6 @@ var SCALE= 0.5
|
||||||
var finalOffset = Vec3.sum(vertical, Vec3.multiply(right, BALL_RIGHT_OFFSET));
|
var finalOffset = Vec3.sum(vertical, Vec3.multiply(right, BALL_RIGHT_OFFSET));
|
||||||
finalOffset = Vec3.sum(finalOffset, Vec3.multiply(front, BALL_FORWARD_OFFSET));
|
finalOffset = Vec3.sum(finalOffset, Vec3.multiply(front, BALL_FORWARD_OFFSET));
|
||||||
var location = Vec3.sum(mazeProps.position, finalOffset);
|
var location = Vec3.sum(mazeProps.position, finalOffset);
|
||||||
// print('BALL START LOCATION:: ' + JSON.stringify(location))
|
|
||||||
return location;
|
return location;
|
||||||
},
|
},
|
||||||
createBall: function() {
|
createBall: function() {
|
||||||
|
|
Loading…
Reference in a new issue