I want to make a gun that fires a real projectile however I’d like to know some general steps in pseudo code on how to do it. I appreciate anyone’s responses!
this tutorial by @BRicey763 has good practices and uses the fastcast module. there are like 3 or 4 parts i would recommend checking it out.
1 Like
What type of Projectile is it, and how realistic does it have to be?
prob bullets and semi realistic. aka it has a realistic trajectory instead of just going in a straight line.
You Should Probably Use Linear Velocity. https://create.roblox.com/docs/reference/engine/classes/LinearVelocity
I’m thinking of using fastcast or just getting the computer to calculate it’s position every second and then check ing if something is touching it