How do I make camera clamp to be unlimited (For a flipping like-effect)

So I want to make a flipping system, Kinda like cluster truck if you’ve ever played it.

So how it’s supposed to work is, when your mouse is moving the clamps don’t stop it, making it flip around.

So this is the current code I have so far. But it doesn’t seem to work, and I’ve tried other set “View Pitch“, “ViewYaw“, “ViewRoll” and they don’t work either, I can set one value to the one I want it to, but then the other one doesn’t do it and breaks the whole thing.

Here’s the code

Min = -180
Max = 180

If anyone has any suggestions or any other solutions for what I’m looking for please do say so

no idea what a “flipping” is.

Back flips and front flips.

i still don’t know what you mean by “flips” where how what for?

do you have an image or video?

Here is an example of what I’m trying to achieve

Cluster truck backflip

thanks that helps.

last time i tried, ue refuses to backflip the camera, when you look 100% up you get a gimball lock.

by the way the mouse icon shows i wonder if that’s just a sequence animation. which you can achieve by attaching the camera to a component that has a transform and animate that.

That would make sense.

I’ll look into it more, thank you!

1 Like

I’ve found my solution.

So what I did was make a timeline, two key frames in 1 second

0 Seconds = 0 Degrees in the camera pitch

1 Seconds = 360 Degrees in the camera pitch

And to make it work I made the timeline play on event begin play.
To prevent the timeline from playing automatically, I made a sequence for the begin play, With a play back rate of “0” and “Stop” with the timeline var, So that the game doesn’t play the animation on begin.

Then I set up In “Mouse Y” input the Playrate is connected with the axis value.

And I made a branch from the axis value to see if I’m looking up or down.

Here is the code if anyone is needing it for their own projects.

Are there better ways of achieving this? Yup 100%.
But this works for me, and hopefully works for others seeking the same answers as I did

Good day thank you for your help and inspiration!

1 Like

im glad my suggestion helped you. good work.

1 Like