/** * Get joint parameter. * @param j j * @param parameter p * @return r */ //ODE_API public static double dJointGetFixedParam (DFixedJoint j, int parameter) { return j.getParam(PARAM_N.toEnum(parameter)); }
/** * Sets joint parameter. * @param j j * @param parameter p * @param value v */ //ODE_API public static void dJointSetFixedParam (DFixedJoint j, int parameter, double value) { j.setParam(PARAM_N.toEnum(parameter), value); }
/** * 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(); }
/** * Get joint parameter. * @param j j * @param parameter p * @return r */ //ODE_API public static double dJointGetFixedParam (DFixedJoint j, int parameter) { return j.getParam(PARAM_N.toEnum(parameter)); }
/** * Sets joint parameter. * @param j j * @param parameter p * @param value v */ //ODE_API public static void dJointSetFixedParam (DFixedJoint j, int parameter, double value) { j.setParam(PARAM_N.toEnum(parameter), value); }
0.25*M_PI,0.25*M_PI); jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],body[1]); jointFixed.setFixed (); return 1; 0,0); jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],null); jointFixed.setFixed (); return 1; 0.25*M_PI,-0.25*M_PI); jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],body[1]); jointFixed.setFixed (); return 1; 0.25*M_PI,0); jointFixed = OdeHelper.createFixedJoint (world,null); jointFixed.attach (body[0],null); jointFixed.setFixed (); return 1; j.attach (body[1],null); j.setFixed (); return 1; j.attach (body[1],null);