- Home /
Bullet long range tracer effect?
Hi guys. I'm working on a ballistic system that is going to be used in long range situations. I'm trying to create an effect where the bullet is visible from a long distance similar to games like battlefield. I'm having trouble finding a way to do this but I noticed that the ray in Debug.DrawRay is visible at long ranges and creates the effect I want. Does anyone know how the ray in Debug.DrawRay is rendered or any other way I could achieve this effect?
[1]: /storage/temp/98435-bulletray.jpg
Answer by look001 · Jul 26, 2017 at 06:05 PM
you can add the TrailRenderer component to the bullet. That should do it
Your answer
![](https://koobas.hobune.stream/wayback/20220612131228im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to: get second camera view out of maincam view ? 0 Answers
Problems while setting up buttons on the GUI 0 Answers
GameObject can disappear 1 second after play, but still appear in scene window 1 Answer
When I instantiate a 2D bullet it's BoxCollider2D fails verification. 0 Answers
Images have a weird behavior 1 Answer