I’m trying to implement a rotating camera for my topdown action rpg. So far it works, but in y direction there needs to be boundaries. How can I set boundaries for the rotation?
Any help would be greatly appreciated! Thanks in advance!
Here’s what I have so far: (I tried with clamp, but that’s obviously not working to set boundaries, all it does is limit the speed of the rotation)