splinetool/react-spline

How to get Camera Rotation or Game Controls Event in JS

Closed this issue · 1 comments

Im trying to show popups depending on the Rotation of the Screen but im Stuck in my code.

i tried to set an interval to check the rotation but the values seem to be radians. I dont know how to solve that any suggestions?

Fixed it by using Trigger Areas and watching the values of a Variable in Spline