I was learning Vector3s, and I found the following:

Vector3:Dot

Vector3:Cross

Vector3.Unit

Vector3.Magnitude

I don't understand what the wiki article says. What is a cross product, scalar dot product, and normalized copy of the vector, which has the same direction as the original but a magnitude of 1? And how are they useful? I only know (Vector3 - Vector3).magnitude, so what is Vector3.Magnitude?

1 comment

2

Vector3.Magnitude returns the length of the vector, or distance from the origin (0, 0, 0) Vector3.Unit returns a normalized copy of the vector with its magnitude as 1. This will return the vector's direction . Don:t know much about the cross and dot product, but you'll find some info on the internet or yt