Parabola Based Shooting Mechanics

Hello everyone!

I recently was trying to design a gun based combat system in which the bullets would be effected by gravity, similar to a paintball or the arrow of a crossbow

I’ve brainstormed many ideas, but I’m not entirely sure how to do it in an efficient manner. I thought about using raycasts, but I’m not sure how to make it take the shape of a parabola or arc without spamming a bunch at once or in a way that if efficient.

Any help is welcome!

For clarification, by parabola I mean the bullet is affected by gravity in the sense it gets pulled down over time instead of traveling in a straight line via a raycast.

2 Likes

Try looking at Roblox’s slingshot in the toolbox, it might help you a little

2 Likes

there’s actually a module for that

the endorsed roblox guns use that for their gun system, i find it rlly cool but you could use fastcast too