Class: djointball

A ball-joint that rotates without limits. Can be used to simulate ropes for example

Hierarchy

o-+ ode
  o-+ djoint
    o-+ djointball

Methods:

new ([djointgroup group])
returns: (djointball)
creates a new balljoint
anchor (djointball,[float x,y,z])
returns: ([float x1,y1,z1,x2,y2,z2])
sets anchor point of joint if x,y,z is given (world coordinates) or returns the current anchors of the bodies if no argument is passed. Since the simulation is imperfect, there's a gap between the anchor that is set and the actual anchors of the bodies.

Inherited Methods:

From djoint

attach, body1, body2, bounce, bounce2, bounce3, cfm, cfm2, cfm3, delete, feedback, fmax, fmax2, fmax3, fudgefactor, fudgefactor2, fudgefactor3, geom1, geom2, histop, histop2, histop3, lostop, lostop2, lostop3, stopcfm, stopcfm2, stopcfm3, stoperp, stoperp2, stoperp3, velocity, velocity2, velocity3