Computing direction from a point to another

how come that the vector drawn in magenta does not point towards “e” when drawn from “S”??
it’s been puzzling me for days now… I need to compute the quaternion between green and blue lines using setFromUnitVectors.

simplescreenrecorder-2024-04-10_15.20.39.mkv

image

3 Likes

the answer was: .normalize() :sweat_smile:

image

2 Likes

Glad you figured it out!

2 Likes