Question by
awesomedata · Dec 13, 2016 at 11:16 PM ·
meshprefabuv
How to lock uvs on a single axis when rotating a prefab
I have a mesh prefab (a vertical structure; a tall building with 4 sides), that uses an atlas, and I need to rotate the building 90 degrees (on the y axis) while also locking the texture orientation on the top of the building to keep it the same visually as pre-rotation. Since these will be viewed from the top, this is critical.
I'm assuming I can simply lock the UVs somehow pre-rotation, then rotate, then keep the new UVs or something, though I'm not sure if this is the right approach. I'm okay with duplicating the asset once for all 3 other rotation angles since I'll still place these prefabs using the editor.
How would I go about doing this?
Comment
Your answer
