tank rotation

This commit is contained in:
James B. Pollack 2016-03-18 17:06:33 -07:00
parent 9433ea8f06
commit 90dba7d472

View file

@ -117,7 +117,7 @@ FishTank = function(spawnPosition, spawnRotation) {
modelURL: TANK_MODEL_URL,
dimensions: TANK_DIMENSIONS,
position: TANK_POSITION,
rotation: spawnRotation,
rotation: Quat.fromPitchYawRollDegrees(spawnRotation.x,spawnRotation.y,spawnRotation.z),
color: DEBUG_COLOR,
collisionless: true,
script: TANK_SCRIPT,