In my previous posts I talked about rendering single pixel lines in 3D space. I need to detect clicking on those lines. The trouble is, renderline3d doesn't create a node in the scene to interact with.
My first idea was to create an invisible capsule node underneath each 3D line and detect click events on this capsule. I have used the example code outlined here:
https://developer.unigine.com/en/docs/1.0/scripting/library/class.gameintersection
Trouble is, even setting up all of the collision masks, I can't seem to get a click to register on the capsule. Is this the "best" way to detect clicks on one pixel poly lines? Is there a better way that doesn't involve creating and manipulating underlying dummy nodes?
Thank you,
Andrew