Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing onSetTransform, as it didn't step the non-Box2d simulation, …

…has no current callers, and has no unit test
  • Loading branch information...
commit 672652464e65066848bd3b38ae3a9568c20535f5 1 parent 6b043b5
@dmose authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/physics/2d/box2d/service.js
View
4 src/physics/2d/box2d/service.js
@@ -162,10 +162,6 @@ define( function ( require ) {
body.ApplyAngularImpulse( e.data.impulse );
};
- this.onSetTransform = function( e ) {
- body.SetTransform( new Box2D.b2Vec2( e.position[0], e.position[1]), 0 );
- };
-
this.onUpdate = function( e ) {
var position2 = body.GetPosition();
var angle2 = body.GetAngle();
Please sign in to comment.
Something went wrong with that request. Please try again.