How to create good bullet tracers

I am currently trying to make bullet tracers. Everything regarding bullet mechanics is done and the current tracer is just a part that I change the scale as it moves. I want to make the bullet leave the barrel in a prettier way. It also isn’t choppy it just doesn’t look real with all the recoil.
Currently I am running it on the client and the bullet emerges from the barrel. This looks good until you move around a lot. Is there any way to improve the bullet tracers?

Also here is a vid of the weapon

2 Likes

Moved to scripting support instead of art.

Are you using raycasting, or physical bullets? If you are using a raycasting method, then I recommend using beams.

3 Likes

Raycasting, if I used beams for this, how would I round out the tip. I never used beams before but they seem to look really good.

I think you just need to find the right texture for it. If I were you, I’d recommend experimenting in ROBLOX studio with beams, getting a nice configuration set up with textures and frequency. You can set up a beam between two attachments on two separate parts in Studio and see, without even pressing play, how it would look. Hope this helps.

Yea I’ll use textures, I’ll let you know how it goes in about 3 days, gonna have to change the animating process of the bullets.

Alright, sounds good. If anyone else has experience with beams, please feel free to chime in, as my knowledge about them is mostly theoretical and I have a relatively small amount of experience with them.

Are you using the server to load those bullet traces?

Bullet tracers done are done on client. No matter how good it is, seems impossible to make the bullet go truly out of the barrel without cheating.

You need to create the rays on the server, otherwise they’ll only be visible for the client. I’m assuming that’s what Mememoxzine is asking.

Rays are calculated on the client of the shooter. When the player shoots it tells the server to tell all the client to render the bullets. Hit verifcation is done on the server. Telling the server to render the bullets is too choppy on high latency.

Hm, I suppose that works. I personally wouldn’t worry about people with really high latency, as they will be lagging no matter what, but to each their own. Hopefully beams end up being what you’re looking for.

Those tracers look good, the issue is when you are getting shot at, it doesn’t look good. Though, I am using this for the AA guns since the color transition looks so cool thanks!