Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Difference between AssemblyLinearVelocity and AssemblyAngularVelocity?

I have no idea what both of these mean and what is even the difference of them.

script.Parent.AssemblyLinearVelocity 

script.Parent.AssemblyAngularVelocity 

2 answers

✓ Accepted answer

AssemblyLinearVelocity is the change of the center of mass in studs per second. While AssemblyAngularVelocity is the change of orientation in radians per second.

##Quick Tip: The developer hub is a source for learning Lua. All you have to do is search for what you're looking for and you'll find it along with the developer forums!

1 comment

0

Thank you!

BasePart.AssemblyAngularVelocity:

It’s the rate of change of orientation in radians per second.

BasePart.AssemblyLinearVelocity:

It’s the rate of change in position of the assembly’s center of mass in studs per second.

In other words:

AssemblyAngularVelocity is the rate at which the orientation of the assembly changes.

AssemblyLinearVelocity is the distance the assembly moves every second.

1 comment

1

Also thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.