Hello I am trying to make a ball fly towards the target using nothing but velocity (I cannot use rocket propulsion or body positioning for this)

If I have a starting position of Vector3.new(0,0,0)

And my target is Vector3.new(20,20,150)

And the ball has 5 seconds to move to the target

Does anybody know how I can calculate the velocity needed in a BodyVelocity instance to make the ball move to the target?

8 comments

0

Hmph... Using physics? idk... TweenService, maybe? But it's not physics.

0

calculate hte Magnitude

0

Oooooooo. We have a snack break problem that had this problem, haha.

0

I think a lotta people might have use RotationalVelocity, but I'm not sure.

0

if I do workspace.BaII.BodyVelocity.Velocity = HumanoidRootPart.CFrame.lookVector * 10, it makes the ball travel towards the direction the player is facing in. But I'm trying to make it go towards the direction the target is in, anybody know how?

0

figure how to make the ball go towards the target by combining the positions within a cframe & then using look vector. but I got a new problem, the ball stays on the ground & won't travel to the hieght of the target :(

0

Nevermind, I solved it by increasing the MaxPower in the Y