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

@ -30,6 +30,12 @@ function (Doll, Settings) {
return this.doll.getPosition();
}
Player.prototype.getHeadPosition = function () {
if(!this.doll) return false;
return this.doll.getHeadPosition();
}
Player.prototype.move = function (direction) {
this.doll.move(direction);
}