Class: djointslider
Slider joint will limit the movement between two bodies to a axis.
Hierarchy
o-+ ode
o-+ djoint
o-+ djointslider
Methods:
- new ([djointgroup])
- returns: (djointslider)
When the axis is set, the current position of the attached bodies is examined and that position will be the zero position.
- axis ([float x,y,z])
- returns: ([float x,y,z])
sets/gets axis of slider. Must be attached first, else crash is likely
- position (djointslider)
- returns: ([float position,positionrate])
Get the slider linear position (i.e. the slider's 'extension') and the time derivative of this value.
Inherited Methods:
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