Hi,
I’ve got a question.
Is there a way that I can move a part along the path of a ray, without using BodyVelocity?
Thanks.
Hi,
I’ve got a question.
Is there a way that I can move a part along the path of a ray, without using BodyVelocity?
Thanks.
You could tween the part from the starting point to the end point, other than that not sure.
It is better to use TweenService, but here is another option
local Part =
local F = Part:GetMass()*workspace.Gravity
Part.BodyForce.Force = Vector3.new(0,F,0)
while wait() do
Part.Velocity = Part.CFrame.lookVector *50
end
It will only stop until it collides with something and the script is destroyed, until it is anchored or set to 0 speed.