What's the difference between .AssemblyLinearVelocity and .Velocity?

Title says it all, what’s the difference between .AssemblyLinearVelocity and .Velocity? I know that .Velocity is depracted but are there any differences between the two (eg. performance, accuracy)?

.AssemblyLinearVelocity is better for performance, accuracy and it is not deprecated too

There are a few minor differences outlined here:

Release Notes for 464:

I find AssemblyLinearVelocity to be much more useful. For example, if a planet is revolving around the sun at 300 studs per second and I’m standing still on that planet, the Velocity.Magnitude of my HumanoidRootPart will be 300. With AssemblyLinearVelocity, it’ll instead read 0, because it isn’t blindly seeing how my position changes over time, it’s also taking into account relativity. From my perspective me and the planet I’m standing on are still and everything around us is spinning.

It also takes the assembly’s center of mass into account, among other things.

In conclusion, AssemblyLinearVelocity is a more realistic version of Velocity

1 Like

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