I am trying to make a mouse trail, something like super mario galaxy which you can find on youtube. It’s a blue trail that follows the cursor.
My issue is that I have tried many different methods, from creating image labels but they cause lag, but there is one solution I found which is to create physical trails and raycast it in front of the camera depending on the mouse. The main problem for writing this thread is because for physical trails there are no always on top property meaning, it can go through objects. Another problem is since its a physical trail, it take’s z axis in consideration. There are no ways to do this thing without either causing lag and terrible ui overlapping or without disabling features on trails.
Here is what it looks like so far: https://gyazo.com/74574c288b4b461b0b66923c41fa71d4