ode4j icon indicating copy to clipboard operation
ode4j copied to clipboard

NPE in AMotorJoint.setTorques()

Open tzaeschke opened this issue 11 years ago • 1 comments

setTorques() can cause an NPE:

  DAMotorJoint j = OdeHelper.createAMotorJoint(world);
  j.setNumAxes(3);
  j.addTorques( 1, 2, 3 );

tzaeschke avatar Oct 28 '14 17:10 tzaeschke

Fix will be available with ode4j 0.3.1

tzaeschke avatar Oct 28 '14 18:10 tzaeschke

This was fixed in 0.3.1 / https://github.com/tzaeschke/ode4j/commit/9445d770868e9b53a2c0f578d9dd8f4c1a9769a9

tzaeschke avatar May 19 '23 17:05 tzaeschke