As I am currently dealing with a problem Not In Unity I have determined that if I was in Unity I could solve the problem trivially in three lines with LookAt()
Sadly I’m not in Unity.
How does this function work?
I’m working with raw position data (x,y,z) so rotations are calculatable, but only necessary for a single virtualized object (as vector from an origin to a target). Once I have that rotation information performing a virtualized localPosition offset would be easy.
Problem is, I can’t figure out how to calculate the vector.
Does anyone know how the function actually works?