How can I make an actor "chase" another actor?
NederBros
Member Posts: 13
I'm making a game with enemy actors that would chase the player. How can I make them follow the actor around the scene?
Comments
Chasing the actor (version 2)
Timer: Every .01 sec
Change Attribute: self.PositionX = self.PositionX + (game.TargetX-self.Position.X)/4
Change Attribute: self.PositionY = self.PositionY + (game.TargetY-self.Position.Y)/4
The actor follows ok, but it is VERY jittery/jerky. Anyone tried this?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Copyright infringement POLYGAMe!
Im pretty sure that motto is copyright be Seek.com!
lol jokes.