Velocity is deprecated, what are the alternatives to Velocity to get the Speed of a Part (or Model)?
AssemblyLinearVelocity is what you need. It is measured from the root part of the assembly (group of connected parts)
Do i need to do print(part.AssemblyLinearVelocity.Velocity) or what do i need to do exactly do get the Velocity?
AssemblyLinearVelocity itself is the velocity. So you can just print that. Keep in mind that it will only be the velocity of that specific part if it’s the assembly root part.
AssemblyLinearVelocity and AssemblyAngularVelocity is what you want.
They return Vector3s
, if you want to know the size use .magnitude
on them. If you want the direction then .Unit
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.