How is velocity calculated?

I have to calculate the velocity of an anchored part and it has to be the same units as standard roblox velocity. Anchored parts do not update their velocity.

Is the velocity simply the distance traveled in studs divided by time (v=d/t) or are there other factors that come into play?

Thanks

Yeah, kinda. But it can get throttled, so I believe it’s more on a frame-count basis rather than time (but someone should correct me if I’m wrong). That’s why physics gets all slow-motion-like when you have a lot going on.

But roughly you could expect velocity to equal “studs per second” movement.