Spread Values Enemy Gravity?
Hello,
I am working on a side scrolling platformer. I am using multiple instances of the same active object for the enemies, each made unique using the spread values method. Each enemy has a gravity detector which is an active object "always" positioned below the enemy.
All I want to happen is when the enemy is too far above the ground, move it down, and when it is too far below the ground move it up. I actually have it working fine BUT it is much too inefficient for my liking. Done with too many lines of code and with too many constantly looping fastloops.
Any examples or suggestions would be helpful and very appreciated! :)