Hello,
Im getting a headhake trying to have a camera viewport showing in a canvas UI at fixed position of the screen.
Here is my scene :
- i have a third person avatar on who the main camera is attached and follow the avatar when its moving.
- I added a second camera on the avater to look at the avatar face (so this camera follow the avatar too looking always on its face)
- i created a render texture and linked it to the camera that follow the avatar face
now im getting trouble showing this on screen.
all infos i found is need to put this texture in a 3D object but 3D object do not render in canvas…
so need turn canvas into screenspace or worldspace but this do not do what i want, the viewport move when avatar move or whatever strange behavior
i hoped i could put my render texture inside an UI image but seems its not possible.
also i want to put over the viewport a decoration, so both viewport and decoration should stay together.
how to get the viewport stay on screen at a fixed position, with my scene configuration?
thank you for your help