So guys this is my first day using the engine. I made a quick RTS camera player controller. Its honestly a very rough example. It includes no comments, no configuration variables, and I feel like its a terrible way to do what I am doing. I think there would be better options that don’t require using the “tick” event. Also sense we check the mouse position linearly (like step by step) it means that the camera wont ever scroll “diagonal”.
All in all I think this is a terrible way to do this but I am sure it will help someone out!
If you guys know better ways to do things then let me know cause I would love to know theres a better way.
all in all I think I could have coded this in like 30 minutes and it took me close to 5 hours to do it through blueprint… though I know how to code much better then blueprint.
Anyways so heres the control blueprint
Theres the exported GameMode, Pawn, and PlayerController Suggestions welcome!