Lately, I’ve been fiddling around with a game prototype for a strategy game in Unreal Engine 4. Although it’s possible to create any kind of game with the engine, it’s main focus rests on the action and RPG genres. Thus, things like a camera navigation for strategy games have been a little tricky. I couldn’t find much help in the forums and the strategy game sample didn’t help.
However, I’ve come up with a solution that I wanted to share with you. So maybe you are also working on a strategy game in UE4 and need some help.
Maybe you are like me and have been working with the Unity3D game engine. However, how could you resist from trying the new Unreal Engine 4? Especially, since you can get the whole engine including the source code for free.
Well, the time may come that you notice some minor differences between the two engines… Thus, soon the single most important question will come to your mind: “How do I disable and enable actors in UE4? Where is the checkbox and why is there no SetActive() method?” For example, when you are thinking about improving the performance for mobile projects, patterns like object pooling come to your mind. Or you simply want to disable an item when the player stores it in his inventory.