Hi,
I am trying to draw orbits of objects dynamicaly, storing the last positions and using them to create a linerect on each frame.
I works fine when it is close to the object but when the disntace is high (about 1+10e) linerect is not drawn.
I have checks the values and all of the seem to be fine. I have also tryed to draw the line near the cam using functions such as ScreenPointToWorldPoint and inverse function changing the z value but I lose a lot of resolution of the position.
I am also sure it is not a problem of near and far clipplanes, I have been working with far distances for a long time and know how it works… (in fact I use 64bits vector positions) ¿Anyone has any idea? My next idea is not to use LineRender and draw the line as a mesh directly.