Arcrotate Camera position and rotation

Hello everyone!

Is there a way to transform an arcrotate alpha/beta/radius coordinates to position/rotation coordinates?

Thanks for your help!

I think you have access to them on the camera after update ???

Line 8 here can show you how you can get the quaternion, a forward ray and the camera’s position.

1 Like

It doesn’t seem so, I always have null value in the rotationQuaternion of an ArcRotateCamera.

See this playground line 82:

I try to play with targets and positions but can’t find a way to make it work.

Great it works @RaananW! Perfect way to have the rotation without having to go through targets and a separate freecamera!


1 Like

Playground showing the result with @RaananW solution :

1 Like