get position (X Y Z) from jit.gl.gridshape or jit.phys.body


    Nov 02 2015 | 11:29 am
    HI guys, can someone please guide me on the best method to get get position (X Y Z) from jit.gl.gridashape or jit.phys.body ? Basically I need to map a jit.gl.gridashape or jit.phys.body to a vector synth or anything i like.
    Previously I have used a [ jit.gl.multiple ] connected to a [ jit.spill @plane 0 ] and i get what i need, but this time i need to use a single jit.gl.gridshape.
    Thank you for your help.

    • Nov 02 2015 | 11:55 am
      if you need x,y,z of every gridshape vertice when moving around then @matrixoutput 2.
    • Nov 02 2015 | 12:17 pm
      Hi T thank you, I only need the position (X Y Z) of one gridshape - jit.phys.body, could you please post an example? I have tried but its not working..i am sure i am not doing it correctly
      Here and an example of a gridshape attached to a jit.phys.body
      thank you
    • Nov 02 2015 | 12:40 pm
      you need to send getposition message to the body object:
    • Nov 02 2015 | 12:51 pm
      amazing. thank you T