It is very convenient to determine the direction of the limbs relative to the body by comparing vectors, for example, using the Vector3.Dot function, which will return 1 if the vectors being compared are directed in one direction and -1 if in the opposite direction.