- Home /
Manually add vertext to TrailRenderer?
Hey guys,
I have bullets. These bullets have trail renderers. The bullets travel through space by firing a raycast and, if the raycast doesn't hit anything, it moves forward. If it does, it ricochets off of the collision and keeps goin.
These bullets have trail renderers, and when they bounce off of things, the trail renderer usually doesn't stick a vertex to the impact point, causing it to look all kinds of bad.
Is there any way to manually add a vertex to the trailRenderer at the impact point?
Thanks!
Wes
Answer by SergeantBiscuits · Feb 09, 2013 at 09:16 AM
Never mind, figured it out... gotta let the bullet render for a frame at the position. I was just deflecting the velocity and keepin it movin, so it wouldn't render a vertex point.
Cheers!
Your answer
Follow this Question
Related Questions
Cracks in Trail Renderer? 0 Answers
How to make trail renderer working with the URP ? 0 Answers
Remove trail renderer delay 1 Answer
trail renderer shows above everything (Unity 2D sorting layer ) 0 Answers