/** * Call this on the fixed joint after it has been attached to * remember the current desired relative offset and desired relative * rotation between the bodies. * @param j j */ //ODE_API public static void dJointSetFixed (DFixedJoint j) { j.setFixed(); }
/** * Call this on the fixed joint after it has been attached to * remember the current desired relative offset and desired relative * rotation between the bodies. * @param j j */ //ODE_API public static void dJointSetFixed (DFixedJoint j) { j.setFixed(); }
private DJoint addFixedJoint(DxRagdollBody body1, DxRagdollBody body2) { DFixedJoint joint = OdeHelper.createFixedJoint(world); joint.attach(body1.body, body2.body); joint.setFixed(); joints.add(joint); return joint; }
private DJoint addFixedJoint(DxRagdollBody body1, DxRagdollBody body2) { DFixedJoint joint = OdeHelper.createFixedJoint(world); joint.attach(body1.body, body2.body); joint.setFixed(); joints.add(joint); return joint; }
fixedJ.setFixed (); world.setGravity (0,0,-0.8);
jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],body[1]); jointFixed.setFixed (); return 1; jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],null); jointFixed.setFixed (); return 1; jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],body[1]); jointFixed.setFixed (); return 1; jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],null); jointFixed.setFixed (); return 1; j.setFixed (); return 1; j.setFixed (); return 1;
DFixedJoint j = OdeHelper.createFixedJoint(world, null); j.attach(body[bodyI], b); j.setFixed();
fixed.setFixed ();