Making a RTS Camera that can rotate and also turn
Hello all, This is my First post on this site, I'm also very new to UE4.
So as a way to understand the editor I have been remaking an old RTS game as a hobby and I've just hit what I think is my first major roadblock.
I have made a camera system that's quite in-depth.
W = Foward. S = Back. A = Turn_L. D = Turn_R. Z= Strafe_L. X= Strafe_R. C= ZoomIn. V= ZoomOut. A= Orbit Rotation_L. D= Orbit Rotation_R.
The problem is I've got a dummy set for the camera to know where to look and when I use my turn camera it will snap back to the location of the dummy when I next use an orbit or zoom input. and if I try and rotate the dummy it throws the whole camera off.
Any idea of the best way of getting around this is?
Thanks, in advance for your help
asked Nov 11 '18 at 04:01 PM in Blueprint Scripting
You need to lock the rotation so it can't go beyond a certain limit. Here's a great video on the exact question your asking.
There's 3 parts to it, takes a while to get through but it's the exact setup I'm using in my practice project rn.
answered Nov 11 '18 at 04:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here