mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed skateboard and mesh positioning
This commit is contained in:
parent
7220e3b388
commit
bdab2a5760
9 changed files with 83 additions and 45 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue