/** * Create a new joint of the PR (Prismatic and Rotoide) 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 DPRJoint dJointCreatePR (DWorld w, DJointGroup g) { return OdeHelper.createPRJoint(w, g); }
/** * Create a new joint of the PR (Prismatic and Rotoide) 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 DPRJoint dJointCreatePR (DWorld w, DJointGroup g) { return OdeHelper.createPRJoint(w, g); }
joint = OdeHelper.createPRJoint(world,null); joint.attach (box1_body,box2_body); switch (flag)
DPRJoint pr = OdeHelper.createPRJoint(world, null); pr.attach (bodyW, bodyD); pr.setAxis1 (0, 0, -1);
1,0,0, 1,0,0, 0, 0); jointPR = OdeHelper.createPRJoint (world, null); jointPR.attach (body[0], body[1]); jointPR.setAnchor (-0.5, 0.0, 1.0); 1,0,0, 1,0,0, 0, 0); jointPR = OdeHelper.createPRJoint (world, null); jointPR.attach (body[0], body[1]); jointPR.setAnchor (-0.5, 0.0, 1.0);
DPRJoint pr = OdeHelper.createPRJoint(world, null); pr.attach (body[W], body[D]); pr.setAxis1 (0, 0, -1);