Skip to content

Commit

Permalink
adjust player height
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Jan 15, 2013
1 parent 6bbe68e commit 2f608f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function updatePlayerPosition(id, pos) {
var player = players[id]
if (!player) {
var playerMesh = viking.createPlayerObject()
playerMesh.children[0].position.y = -18 // flush with floor
players[id] = playerMesh
playerMesh.position.y = 10
game.scene.add(playerMesh)
Expand Down

0 comments on commit 2f608f0

Please sign in to comment.