Godot Version
Godot 3.5.2
Question
` Hello everyone, having trouble with my enemy script. Had trouble with enemy movement in my game. I removed everything from my script except the part that controls movement and the on-screen signals, just in case anything else was crushing the fps. No matter what I do this script just tanks the performance, and I can’t find what the problem is.
Provided is the script casuing the problem, the fps printout, the profiler test and the test_enemy node I have set-up. Really feels like I’m missing something obvious, any input is much appreciated.
Problem: complete FPS drop when basic script runs