/** * Create a new joint of the A-motor type. * * @param w w * @param g set to <tt>null</tt> to allocate the joint normally. * If it is nonzero the joint is allocated in the given joint group. * @return joint */ //ODE_API public static DAMotorJoint dJointCreateAMotor (DWorld w, DJointGroup g) { return OdeHelper.createAMotorJoint(w, g); }
/** * Create a new joint of the A-motor type. * * @param w w * @param g set to <tt>null</tt> to allocate the joint normally. * If it is nonzero the joint is allocated in the given joint group. * @return joint */ //ODE_API public static DAMotorJoint dJointCreateAMotor (DWorld w, DJointGroup g) { return OdeHelper.createAMotorJoint(w, g); }
lmotor[1] = OdeHelper.createLMotorJoint (world,null); lmotor[1].attach (body[0],null); amotor[0] = OdeHelper.createAMotorJoint (world,null); amotor[0].attach (body[0],body[1]); amotor[1] = OdeHelper.createAMotorJoint (world,null); amotor[1].attach (body[0], null);
-SIDE*0.5,0,1, SIDE*0.5,0,1, 0,0,1, 0,0,1, 0,0); jointAMotor = OdeHelper.createAMotorJoint (world,null); jointAMotor.attach (body[0],body[1]);