I believe this is a bug as I feel like I had this work before. When I do the move object command, no matter what I put for distance the object will keep moving and never stop. I can set it to the number 2 and it’ll keep going. From what I understand the distance is supposed to be in pixels.
This is what the settings are. I have tried the other movement types and they do the same thing.
I created a brand new project just to make sure that nothing was corrupted with my project or weird settings and it does the same thing in the new project. Here is what I’m doing:
-Trying to create a top down game so gravity on the map is set to zero.
-Created a template from the top view character base.
-Created a second blank object. In this object I just have one state which is the move object state. I tell it to move the object I created in the top view character base and the object moves forever.
-The move object works as long as action is in the object that I want to move but I want an event to move this object and that’s where the issue seems to be. I even tried creating a blank object to move to make sure there wasn’t anything wrong with the template and that didn’t work.
Problem solved:
(1) Solution: Add VS script on the target object to activate the object’s “state machine”.
(2) The visualization principle of AGM: If you want to use “visualization” to control an object, you must add a “VS script” at the root node of the object to “activate” the visualization function of AGM object.