fixed skateboard and mesh positioning

This commit is contained in:
Jeena 2014-01-16 19:33:37 +01:00
parent 7220e3b388
commit bdab2a5760
9 changed files with 83 additions and 45 deletions

View file

@ -138,7 +138,7 @@ function (Parent, Settings, NotificationCenter, Exception) {
this.headMesh,
{
x: this.body.GetPosition().x * Settings.RATIO,
y: this.body.GetPosition().y * Settings.RATIO - 31
y: this.body.GetPosition().y * Settings.RATIO - this.height + this.headHeight
}
)
}