How can I send a rocket in the direction of the mouse, but not all the way to where the mouse is pointing, just like 100 studs at max?
You first need to get the mouse’s direction in 100 studs using unit vector then using that vector as velocity for a body velocity in your rocket
So something like this?
local direction = (mouse.Hit.p - HumanoidRootPart.Position).Unit * 100
Yeah, but use mouse.Hit.Position
since mouse.Hit.p
is a deprecated method
It kind of works, but it gets sent off to the left
Raid Hub - Roblox Studio (gyazo.com)
Edit: I just used AssemblyLinearVelocity and it went straight and had the effect I wanted, thank you