Hello there. Im new to unity scripting, so far i try to figure out problems on my own but lately i cant seem to find a good solution for the problem im having.
when i move my character (BOX) from point A to B i made my box to rotate depending on the wall euler. this way the box is always 90 degrees to the wall. As you can see on the picture below.
so what im having problem is that when i make my camera follow the char. and it looks at him. it looks like on the left side of the image. And id like it to be like on the right side. is there a way to keep object towords another object angel fixed? like camera always looking at your right side even when you rotate or move.
hope any1 can find a solution tried many diffrent things and probobly got try more.