Closed FlorianJullien closed 2 years ago
The calculated transform of the hierarchy, including the spheres gameobject transform, should still be concatenated in. Are you seeing an issue here?
Closing due to lack of response. Please re-open if this is still an issue.
I am trying to change the position of a mesh that is rendering a 360Video (or flat - I use both in project) in update using camera position I am using OES Rendering on Android to render videos on Meshes using
Apply To Mesh
Script. This Mesh uses theAVProVideo-Unlit-AndroidOES shader
and I am having an issue re-positioning the Mesh. The mesh is a sphere and the behaviour wanted is a basic follow of the Sphere center with the camera. The position is set basically via a script :gameobject.transform.position = cam.position;
in Update. There are no problems of rendering : the video loads and displays as wanted. The Question is : Is the position of the rendering locked in the Shader ?My setup
Possible Lead I guess it has something to do with this line on the Shader but I am afraid I can't go further on this without help !
Thank you for your answers !