mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixes for animations with head and jump, etc.
This commit is contained in:
parent
142964938c
commit
283a1ef48b
16 changed files with 147 additions and 109 deletions
|
|
@ -29,8 +29,8 @@ define(function () {
|
|||
this.player.jump();
|
||||
}
|
||||
|
||||
PlayerController.prototype.lookAt = function (x, y) {
|
||||
this.player.lookAt(x, y);
|
||||
PlayerController.prototype.lookAt = function (options) {
|
||||
if(options) this.player.lookAt(options.x, options.y);
|
||||
}
|
||||
|
||||
PlayerController.prototype.update = function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue