ode4j
ode4j copied to clipboard
NPE in AMotorJoint.setTorques()
setTorques() can cause an NPE:
DAMotorJoint j = OdeHelper.createAMotorJoint(world);
j.setNumAxes(3);
j.addTorques( 1, 2, 3 );
Fix will be available with ode4j 0.3.1
This was fixed in 0.3.1 / https://github.com/tzaeschke/ode4j/commit/9445d770868e9b53a2c0f578d9dd8f4c1a9769a9