Skip to content

Commit

Permalink
continuation of fix for issue #99
Browse files Browse the repository at this point in the history
  • Loading branch information
wellcaffeinated committed Jun 15, 2014
1 parent a6f8589 commit de58cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/behaviors/interactive.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Physics.behavior('interactive', function( parent ){
self.body = body;
// remember the mouse offset
self.mousePos.clone( pos );
self.mousePosOld.clone( pos );
self.offset.clone( pos ).vsub( body.state.pos );

pos.body = body;
Expand Down

0 comments on commit de58cdd

Please sign in to comment.