So, I'm trying to understand how CameraControl really works.
I have a scene and I set allowCameraControl = true. When I swing around and the scene rotates or translates (two fingers ...), I donβt understand which set of scenes really changes for me.
I was expecting the camera node to change position or rotation. Not that case. I also recorded the position and rotation of the root node of the scene ... unchanged.
Therefore, to be clear, in the rendering delegate called for each frame update, I record the position and rotation of the node camera that I set for the scene, I registered the position and rotation of the root of the node, I also recorded the position of te and the rotation of the node, which I added to the stage. None of them show a change in position and / or rotation.
Can someone explain to me which interchangeable set changes when a scene is rotated or translated using standard camera controls?
source
share