Im trying to make a mechanic for my marble racing game where you can brake to slow yourself rapidly to allow for tighter turns. Every time I try to test out the code I get a “Infinite loop” error. Is there any way I can work around this so it wont give me this error while still doing what I want it to do?
Relying heavily on Event Tick can indeed affect your game’s performance, but not in this case as it’s just a simple line trace and it only runs when Brake is pressed. The only case where this might affect performance is if Trace Complex was set to True + the Actor was on top of a very complex mesh.