mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed flip for RubeDoll
This commit is contained in:
parent
0b8d885d48
commit
f35b9f5ba9
5 changed files with 33 additions and 27 deletions
|
|
@ -128,8 +128,8 @@ function (Parent, Box2D, Options, Settings, Exception, Nc, Assert) {
|
|||
handPosition.y
|
||||
);
|
||||
this.body.SetPosition(position);
|
||||
this.flip(direction);
|
||||
this.body.SetAngle((this.options.grabAngle || 0.0) * direction);
|
||||
this.flip(direction);
|
||||
};
|
||||
|
||||
Item.prototype.getGrabPoint = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue