GMS 2.3+ Can an object be made to approach another?

KKf

Member
Can an object be made to approach another? I need to make an object approach another slowly when it enters a circular range, but I don't know if this is possible, at least I can't find the way.
 
Nah, GameMaker doesn't support this.







What have you attempted? This is easily done by, as you stated, checking the range and then moving towards the given coordinates at a desired speed.
 
The simple answer is yes you can, look into functions such as collision_circle() and move_towards_point(), there are other functions you can utilize for your said intention, you should check the MANUAL for details.
 
Top