I am new to programming with Max (learned PD in school) and VERY NEW to Jitter. Heres my problem:
I have a sphere that I control with accelerometers that output their xyz position data to flonums that then feed 3 multi sliders, one for each X, Y, Z, (that essentially stores the data of the sphere’s movement). I want to then feed the data from those multi sliders into jit.gl.path to then have the sphere retrace its movement.
Am I correct in thinking the jit.gl.path object is the right one to use?
How should I go about connecting the multi sliders to the jit.gl.path object?
if you want the path to control the position of a 3d object, then you should use jit.anim.path. you can visualize a jit.anim.path with a jit.gl.path by setting the anim.path @drawpath attribute to a named gl.path object. this is demonstrated in the help file.
to set the values of the path, use the append, insert or edit messages to anim.path.