XYZ position data in Multislider to jit.gl.path…is it possible and how?


    Mar 26 2014 | 6:41 am
    Hello all,
    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?
    Thanks in advance for any and all help!!!!
    Cheers,
    Dan

    • Mar 26 2014 | 9:41 pm
      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.
    • Mar 27 2014 | 2:21 am
      Thanks Rob!
      I will check it out tonight and report back my findings.
      Thank you very much for taking the time to respond and share some guidance.
      Much appreciated.
      Cheers!