Move Object doesn't work correct

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 operated it and everything was normal.

The object automatically stopped after being moved a certain distance and did not encounter the problem you described.

You can make a minimal reproduction to restore whether there were any errors in your steps.

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.

1 Like

Can you upload your project file so that I can help you identify the problem.

new-game-project.rar (67.7 KB)

Here is the new project that I created where the same thing happens. Just a script to move and an object to move.

new-game-project(ok).rar (220.4 KB)

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.

1 Like

Ahhh. Okay. I did not realize that. I just did a quick test and it worked. Thank you!!

1 Like