How to use Magnitude?

Hello. I never tried Magnitude, and I want to try to use it.
I tried to do (workspace.part1.Position - workspace.part2.Position).Magnitude, but i get 0 every time. (i fixed that)

Can you please explain Magnitude, so even dog can understand?

Magnitude is just the length of a vector.
In this specific case where you are doing Pos1 - Pos2, getting the magnitude of the result is just giving you the distance between those 2 parts.

2 Likes

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