Lookvector conveyor going the wrong way?

Hey everyone! So today I was working on an upcoming christmas tycoon that I am making by myself. I came across a problem where, the conveyor will push things to the left instead of going straight where it is suppose to go, not really sure why it does this, but I am not really sure of how to fix it, so I came here. Here is my script…

 local part = script.Parent

while true do
	part.Velocity = part.CFrame.LookVector * 15 --//Speed//--
	wait()
end

If anyone knows how to fix this, please let me know, I know it’s something really simple, I just can’t figure it out. Thanks for the help ahead of time!

there is also:
RightVector
UpVector
if you want left vector, then do RightVector * -15.
for backwards, LookVector * -15.

try using every of these and it can work

Why are you using CFrame.LookVector?
You can just set the Velocity to 15 in the correct direction, just keep in mind that a Part’s Velocity is done in world directions, not Part directions. Check the tutorial:

1 Like

Because CFrame is more reliable and precise.

Thanks, that helped, I won’t use that next time.

Thanks for the help! I got something working for it, but still, thank you for taking time out of your day and trying to help! :))

1 Like