Software Archive
Read-only legacy content
17061 Discussions

Calculate the angle to the user's head from a game character's location in a virtual world?

Robert_Oschler
Beginner
519 Views

I want to track the user's head location in 3D space so that a game character can alter their head position, eye(s) position, and eye parallax to look at the user.  Can someone point me to the SDK/API subset I should focus on and any sample code that is available that does this or similar (C++ or C# is fine)?

0 Kudos
2 Replies
Nirmit_Kavaiya
Beginner
519 Views

Use Pose detection from Face tracking. It gives you the pitch, yaw, and roll of user's head w.r.t. Camera.

0 Kudos
Robert_Oschler
Beginner
519 Views

Thanks Nirmit.

0 Kudos
Reply