#Laser pointer thingy
1 messages · Page 1 of 1 (latest)
https://www.youtube.com/watch?v=vdci2oxVaoA Like in this tutorial, only in 3d
Link to my game: https://play.google.com/store/apps/de...
In this 1 minute tutorial you will learn how to create a laser, using c# and unity.
Sub to the channel for more usable content that does not waist your precious time.
actually my code is from here: https://www.youtube.com/watch?v=kzHNUT9q4JE but similar effect
so what's the problem with how the linerenderer is currently working?
uh
or how it will work once the jitter problem is fixed?
it sounds like the only other thing that you would need to do is assign a material to the renderer
you mean like the problem comes frm the missing material?
maybe?
I'm not certain what the problem is besides the jitter.
to me, it looks like the laser would work as intended once complete
Beside the jitter the billboardeffect is my other problem. Do you understand what I try to remove? I dont know if its possible at all, since the line renderer is 2D
which is why I suggested making it geometry instead
but that would make everything so much more complicated
I would just finish the tutorial then go from there
But the jitter should be independent from it or? All tuts I saw made everything in the Normal update function
If I had to guess, I would think that how you are moving the camera would be affecting how the line renderer looks in the game view
the two tutorials you showed have fixed cameras
Thats what I also thought. Im using the first Person Controller
At this point, I don't know what to do, besides trying to update the linerenderer in fixedupdate
while keeping the calculations for its start/endpoint in update
if that doesn't work, I have no idea what to do.
And I'm getting hungry
Its getting late here, Thank you for your help, I gave me some input to try somd things