/** * Create a new joint of the L-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 DLMotorJoint dJointCreateLMotor (DWorld w, DJointGroup g) { return OdeHelper.createLMotorJoint(w, g); }
/** * Create a new joint of the L-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 DLMotorJoint dJointCreateLMotor (DWorld w, DJointGroup g) { return OdeHelper.createLMotorJoint(w, g); }
geom[1].setBody (body[1]); lmotor[0] = OdeHelper.createLMotorJoint (world,null); lmotor[0].attach (body[0],body[1]); lmotor[1] = OdeHelper.createLMotorJoint (world,null); lmotor[1].attach (body[0],null); amotor[0] = OdeHelper.createAMotorJoint (world,null);