Not understanding velocity

hello, i am trying to learn something new everyday until I become a pro scripter, today is my 2nd day i am trying to know how to make a conveyor belt(i chose it because i basically know what velocity does but I don’t know how to use it)

i used a free model from the toolbox to look at its script and it was easy to understand here it is:

--JJPSONIC(creator of model)

while true do
script.Parent.Velocity = script.Parent.CFrame.lookVector *7
wait(0.1)
end

what i understood so far is how to make the part move using velocity, and I was able to make my own conveyor belt. But what i did not understand is when the part is moving and you stand on it you move with it, but why do you move when the part is anchored since it not moving. Am i missing an idea?

i tried looking on the dev hub but i couldn’t understand so i thought that making a post myself might help me understand.

I don’t know exactly how the conveyor belt script works, but I believe it was a Roblox mechanic, and if you want to learn about Velocity, look for Knockback tutorials as they explain how Velocity works.

However, if it is not a Roblox mechanic, when the player touches the conveyor, you just make it be thrown in a direction through Touch and Velocity, Touch is not a good idea because it is exploitable, However, in your case it doesn’t require much concern.

I used Google Translator, Sorry if have any write error

3 Likes

Since the Part is anchored, it does not experience any other forces such as gravity and friction. Therefore the Part will not slow down in velocity at all.

Your question was: why do objects on a anchored object with velocity move?
Well, let’s say you’re sitting on a boat with your seat belt on. Wouldn’t it be pretty logical that you would move at the same speed as the boat is going? So if the boat is going 10 meters per second, you would also go 10 meters per second because you are standing on the boat.

So it may seem that the anchored part isn’t moving, but it kinda is, because it has velocity. And because it still has velocity, it will transfer that velocity to whatever is in front of it or on it (similar to how a car can push a rock into moving at the same speed of the car).

3 Likes

I hadn’t seen that part, I just wrote stupid things lol

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.