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?



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.