Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Dan Mosedale authored

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. +0 4 src/physics/2d/box2d/service.js
4 src/physics/2d/box2d/service.js
@@ -162,10 +162,6 @@ define( function ( require ) {
162 162 body.ApplyAngularImpulse( e.data.impulse );
163 163 };
164 164
165   - this.onSetTransform = function( e ) {
166   - body.SetTransform( new Box2D.b2Vec2( e.position[0], e.position[1]), 0 );
167   - };
168   -
169 165 this.onUpdate = function( e ) {
170 166 var position2 = body.GetPosition();
171 167 var angle2 = body.GetAngle();

0 comments on commit 6726524

Please sign in to comment.
Something went wrong with that request. Please try again.