Hey ya all,
I have 2 Canvas in my Scene.
One Screen Space Overlay for functional buttons that work the whole time (like for movement in the model room)
And one World Space Canvas in my 3D room model for information panels about some stuff that are inside my room model.
My problem: If i open the canvas world space the movement script attached to a button works fine, but if im closing the world space canvas the movement isnt working any more.
im using Transform.position.forward to move the room itself, the position from the ARCamera is always the same its just the room that im moving along the z axis to give the User the imagination of walking inside that room.
Do i need 2 Cameras for switching between these 2 canvas with 2 diffrent Cameras?
I hope and I think theres a better solve for this.
Im using Vuforia Engine version 9.6.3 and unity version 2019.2.17f
Vector3 move = room.transform.position + MainCamera.transform.forward;
room.transform.position -= MainCamera.transform.forward * speed * Time.deltaTime;
→ This is my command for moviing the room itself.
It’s quiet like the transform.postition doenst work if canvas world space is active… pls help