/** * Create a new joint of the plane-2d 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 DPlane2DJoint dJointCreatePlane2D (DWorld w, DJointGroup g) { return OdeHelper.createPlane2DJoint(w, g); }
/** * Create a new joint of the plane-2d 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 DPlane2DJoint dJointCreatePlane2D (DWorld w, DJointGroup g) { return OdeHelper.createPlane2DJoint(w, g); }
dyn_bodies[b].setMass (m); plane2d_joint_ids[b] = OdeHelper.createPlane2DJoint (dyn_world, null); plane2d_joint_ids[b].attach (dyn_bodies[b], null);