I’m building a game using DOTS and am working on adding support to a first-person controller to allow the player to walk around a sphere.

My understanding is that I could use *Quaternion.FromToRotation* in the non-DOTS world to rotate my player character so they stay properly aligned to the sphere as they walk around. I haven’t been able to find anything equivalent in *Unity.Mathematics*. Does anyone know if it exists?

I found this - which looks helpful; worst case, I can attempt to transcribe *MyQuaternion.FromToRotation* to a *Unity.mathematics.quaternion* equivalent. I’m no quaternion expert, though, so I’d prefer to avoid this, if possible.

Can anyone point me in the direction of any helpful resources? Ultimately, I want to understand quaternions in-depth, so resources for that would be much appreciated too!

Thanks!