Okay, so I’m following the Twin-Stick shooter tutorial and I’m on the part where you are creating and enemy AI.
So far I have two classes that inherit BaseCharacter, which inherits Character.
HeroCharacter and EnemyCharacter.
Hitting play with HeroCharacter is fine and works great. But if I am to add a bot EnemyCharacter in the level it causes the editor to freeze and eat my memory 6GB and rising. Any idea how to fix it? I googled but didn’t seem to find anything.
It looks like having 2 types of Character causes the engine to do a loop of reinstantiating something and never ends, so eats all the memory.