/** Apply an angular impulse. * @param impulse the angular impulse in units of kg*m*m/s */ public void applyAngularImpulse (float impulse, boolean wake) { body.applyAngularImpulse(impulse); }
jointDef.initialize(ground, pendulum, new Vec2(0, 0)); pendulum.applyAngularImpulse(10000);
m_world.createJoint(jd); body.applyAngularImpulse(100.0f);
jointDef.initialize(ground, pendulum, new Vec2(0, 0)); pendulum.applyAngularImpulse(10000);
m_world.createJoint(jd); body.applyAngularImpulse(100.0f);