How can I have space coordinates of the point I'm clicking in jit.window ??
I want to be able to create object by clicking on the screen and I need coordinates in order to fire a message to my JS core to push a new object in an array + to instantiate that object on the screen.
For this, I need space coordinates
anyone?
I tried to work with jit.gl.handle, picker but they are object related so .. I may miss something..
hi! check out this thread: https://cycling74.com/forums/jit-gl-picker-for-jit-gl-multiple, i was doing something quite simmilar. here is raw and dirty version done using jit.gen, for modifying jit.gl.multiple object positions
oh i think, i didnt understand you :)
sorry :)
Not sure what you need, but here is one way to get glworld coordinates:
I'm just a nerd who doesn't know how to communicate :-0
indeed, it isn't the thing I'm looking for :-/
I guess the best way will be to create an external helper (I mean external to that patch) and to proceed with it
@Ben thanks to you too for your answwer.
ok it works, it is what I need.
I didn't get the mouse x y z message from the info outlet of jit.window :)