What would be the best way to make a projectile

What would be the best way to make a projectile
I am a new scripter

like Body Velocities,
raycast --//I don’t know how to do this
or tweening. ECT

2 Likes

What projectile you want to make?

1 Like

Skip to 7:57

In that case Body Velocities I think it’s the best.

But how would I make it move mid air like in the video like it follows your mouse.
Im a new scripter.

If you are new I recommend you to learn more about tweening since it’s kinda beginner friendly

I know tweening I want to now how to make it move mid air like the video its my goal right now. =)

1 Like

You’ll need to find out alone :wink: like this you will learn quicker!

1 Like

I know that but how
I don’t even know were to start every time I try to learn I brain fart .

1 Like

You can learn by checking out and reading about everything on Roblox Developer Hub, check out this page about tween:

I know how to tween though i want to make the object follow my mouse mid air like the video.

Track your mouse you say hmmm …

yeah
…

yes indeed I do say such things

I’m kind of sure you need to set the velocity’s direction to the mouse with a heartbeat loop that constantly fires a remote event from the client that provides the mouse position or cframe. I’m not sure how to make it follow the mouse with the bodymovers though

1 Like

Things you need to learn to achieve this

Camera – to know Where does the player look
Mouse – to get the mouse position and more
Cframe – Moveing Parts with Cframe
RenderStepped – It’s an event that runs every frame per second
BodyVelocity

hope i helped you

1 Like

is body velocity the best way to make projectiles

I assume these are on the developer API

heartbeat? what is that is it a frame thing like renderedstep

For a start, it’s very good, but of course there are more and more complicated ways