I want to script a katyusha type thing, where there is a buncha missile launchers mounted on a truck and it launches them in rapid succession towards a target. I don’t know how I would start and how I would do that though. Can anyone give me any advice on where to start?
If it is a bunch of missiles, that launch, first you need to make just one missile launch, then you can code the same for the others.
For any projectile launching, like missiles, I would look at some code in some Roblox Gear, like the Roblox rocket launcher.
That might be a good starting point for you. If nothing else, it might give you some more specific questions to ask.
hey, do you have discord? I think im on to something but I may need a little help.
UPDATE: I saw this yt vid about physics and… I slightly modified it and it works… (kinda) here is a vid: roblox pc crashing rocket barrage - YouTube
If you know your way around roblox scripting I would reccomend taking a look at FastCast (FastCast API). You can create a caster for each truck and fire a remote event whenever the driver presses a key. On the server you can use a tube variables to rotate through all the rocket launching tubes. If you want to go for a more simple approach you could do something like this:
local rocket = rocketModel:Clone()
rocket.Velocity = barrel.CFrame.LookVector*100
rocket.Parent = workspace
that sounds great! I’ll look into it!