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.
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.
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.