wesley931
(wesley931)
July 3, 2021, 8:25pm
#1
Hello so I am making a cannon but I have a problem with the shell that is meant to be fired. What would be a good way of making the thing move and then drop off at a certain point or time.
Talking about modern ship cannons
I read somethings about velocity but I am not sure what should be used.
I think the image you posted is good enough. You could look at Sea of Thieves for the cannon-ball drop off since that’s a pretty good game.
1 Like
wesley931
(wesley931)
July 3, 2021, 8:29pm
#3
Yeah but the problem I am having, that I dont know what could make the shell move.
EgoMoose did a fantastic guide on projectile motion a while ago. If you can understand basic calculus then that would be the best resource:
This guide was originally written for scriptinghelpers . The original can be found here .
As a somewhat active member of the Scripting Helpers discord one of the most common questions I see is how to have a projectile travel an arc. Most people want to know how to do this for things like basketballs or cannon balls and so forth. Since this is such a popular question I thought it would be worth writing a blog post on it and talking about a few other things we can extend from our findings.
Deri…
You use velocity, a property of any basepart to move instances:
https://developer.roblox.com/en-us/api-reference/property/BasePart/Velocity
1 Like
wesley931
(wesley931)
July 3, 2021, 8:29pm
#5
Thank you, I shall take a look into it.