Hi community
I am making laser based on raycast so laser can be interrupted by some obstacle. But I do not have idea how to create the graphic effect between initial point and RaycastHit.point.
You could try the built-in Line Renderer component.
That’s probably the way to go. Get yourself a good laser texture and with the right shader it should look decent. Oh, and don’t forget particle effects. ![]()
Thanks. Is there any way how to change a variable Positions via script?
Yes, check out the scripting reference.
Line Renderer and 250mw green lasers can help you.
Hehe…did you read the thread? We’ve been talking about the Line Renderer component since the second post! ![]()
Hello all,
Ihope you dont mind me resurrecting this thread but I am a complete noob to Unity
I am trying to create a laser cannon and would like to know where I could get myself a good laser texture.
If you know of any good GIMP (or Photoshop) tutorials that would show me the same, I would be so grateful as Google is not coming up trumps here…
Thanks!
hmmm its pretty simple making one… right?
I mean this is something I made in about 40 seconds ![]()
When you make your material for the lineRenderer just color it and it should look fine ![]()
Check the Tron Trail in the procedural example > http://unity3d.com/support/resources/example-projects/procedural-examples.html