Following actor in a scene
nlalami
Member, PRO Posts: 1
Hello,
I am trying to figure out how to have one actor follow another actor in the scene. Basically whenever Actor one, let's call him Sheep move in one direction, Actor two, let's call him Wolf would go after Sheep. I would appreciate it if anyone can provide some guidance on how to do this.
Thanks
Comments
I didn't make this, but it is a good starting point. Instead of constraining the actor to the mouse location, constrain it to the location of the actor you want it to follow. Things get a little more complicated if you want it to follow at a certain distance or to never overlap, though.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Hi there! Here is a simple project using magnitude to follow the sheep actor
GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com