/** * Create a new joint of the PU (Prismatic and Universal) 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 DPUJoint dJointCreatePU (DWorld w, DJointGroup g) { return OdeHelper.createPUJoint(w, g); }
/** * Create a new joint of the PU (Prismatic and Universal) 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 DPUJoint dJointCreatePU (DWorld w, DJointGroup g) { return OdeHelper.createPUJoint(w, g); }
DPUJoint pu = OdeHelper.createPUJoint(world, null); pu.attach (bodyW, bodyD); pu.setAxis1 (1, 0, 0);
DPUJoint pu = OdeHelper.createPUJoint(world, null); pu.attach (body[W], body[D]); pu.setAxis1 (1, 0, 0);