how do i one actor follow another actor

THINGTHINGTHINGTHING Member Posts: 84
edited November -1 in Working with GS (Mac)
how do i one actor follow another actor

Comments

  • PhoticsPhotics Member Posts: 4,172
    First actor has to broadcast its location.

    Constrain X&Y locations of the actor to attributes that record the X&Y location.

    Then, for the second actor, simply use the "Move to" behavior with those locations. Use magnitude to turn it off. If the following actor is too close, then the "Rule" with the "Move to" behavior should stop.

    The Unofficial GameSalad Textbook might help you with this stuff.
  • Rob2Rob2 Member Posts: 2,402
    or a far more efficient method would access the actors location directly through the Attribute Browser and Current Scene, Layers, etc. This requires the actor doing the following to be an unlocked instance.

    @Stu looks like we posted at the same time...that wiki needs updating:)
  • RattleheadRattlehead Member Posts: 485
    Rob2 said:
    or a far more efficient method would access the actors location directly through the Attribute Browser and Current Scene, Layers, etc. This requires the actor doing the following to be an unlocked instance.

    But wouldn't that be tedious if you have a lot of scenes and actors populating that scene since you'd have to edit each actor?
  • StusAppsStusApps Member, PRO Posts: 1,352
    Rattlehead said:
    But wouldn't that be tedious if you have a lot of scenes and actors populating that scene since you'd have to edit each actor?

    should be able to duplicate the scene
  • RattleheadRattlehead Member Posts: 485
    StusApps said:
    should be able to duplicate the scene

    Yeah, provided the actors being placed are not of varying types, that would be a good way to go about it. Good call.
  • THINGTHINGTHINGTHING Member Posts: 84
    thanx
Sign In or Register to comment.