sceneview-android
sceneview-android copied to clipboard
Setting the initial position of the camera does not work in v2.1.1
Setting the initial position of the camera using the following code snippet used to work in v2.0.4 but when I apply it in v2.1.0 and above, it doesn't work. This was tested using the model-viewer-compose
sample in the versions mentioned.
val cameraNode = rememberCameraNode(engine).apply {
position = Position(y = 4.0f, z = 4.0f)
}
Expected Behaviour: Camera looks at the node at a 45 degree angle.
Actual Behaviour: Camera is at the default position and is not affected by the applied position.