Top-down rotating camera problem with setting bounds for y rotation

Hi,

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)

There are many ways to do this.

Try to use Set Relative Rotation that way you can clamp the rotation of your spring arm directly.
Or you use player controller and its functionality to interact with Spring Arm components.

Regards

Thanks! using Set Relative Rotation worked perfectly!

For other people googling this, here’s my blueprint of it working: