# How would I make a bow like projectile?

I’m currently making a bow and it’s really fun to make so far. However, I am having difficulty making the way the arrow curves like a bow.

Since I don’t think you can do this with a AssemblyLinearVelocity, how would you do this?

EDIT: while the picture shows a bow being shot at a target, I want to just know how to make the projectile curve like that

1 Like

Firstly you will need how to make raycasts from bow’s spot of shooting to the location that is shooting. Then you could add a small force that would make the arrow move down a bit as to simulate gravity and also a huge force so the arrow can move from the bow position to the target.

This is the Force I was talking about: BodyForce

and this would be an article that includes raycasting.

Raycast Roblox Article: Intro to Raycasting

If you are not sure how those two work you can go watch some videos from youtube to see in what cases they are used and also some games like Lua Learning could also be in handy.

I would have an anchored part and then use raycasting to add position to it.

You would have a vector which is the front. The speed will be the vector times the velocity.

Now, your raycast will be in the direction of “speed” and the part will add “speed” to its CFrame position, and the part will be looking at “speed - Vector3.new(0, gravity, 0)”

All of the vectors are multiplied by a delta time.