Realm Rush Smooth Turn

Hi,

First of all, you’ll have to define what a corner is. The computer does not know any corners. Then you could check in your code whether the enemy is at a corner and execute the code for smoothly turning around. The smooth movement/rotation could be achived with a coroutine.

Please feel free to ask our helpful community of students for further advice over on our Discord chat server. :slight_smile:


See also: