mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
only adds lastMovedBy when there was no damage - fixes #99
This commit is contained in:
parent
e370adf746
commit
0edde06d67
8 changed files with 403 additions and 21 deletions
|
|
@ -352,7 +352,7 @@ function (Parent, Box2D, Settings, Nc, Assert, Options, ItemSettings) {
|
|||
chestPosition.y + this.options.limbs.head.y / Settings.RATIO
|
||||
);
|
||||
this.limbs.head.SetPosition(position);
|
||||
this.limbs.head.SetAngle((this.options.grabAngle || 0) * direction);
|
||||
this.limbs.head.SetAngle((this.options.grabAngle || 0.0) * direction);
|
||||
};
|
||||
|
||||
RagDoll.prototype.throw = function(options, carrierVelocity) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue