follow the actor in motion
eldevelop18
Member Posts: 4
I want that my actor follows other actor but that always it has the same distance
Comments
Hi @eldevelop18 You need to use the constrain behaviour, one to constrain the following actor's x position to the moving actor , another to the y position, both with offsets to give it the distance you want.
Constrain Attribute self.Position.x to Moving actor.Position.x + 100
Constrain Attribute self.Position.y to Moving actor.Position.y + 100
---in this example, 100 is to change to whatever distance away you want the actor that's following to be. Hope that helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps