Actor follows other actor ?

JamieOneilJamieOneil Member Posts: 877
edited November -1 in Working with GS (Mac)
How could i make an actor follow another actor after they collied, if possible have the actor follow a bit behind the other one.
like a duck and all its babies following behind :L

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    You could use 2 "Constrain attribute" behaviors on the actor you want followed.
    yourVariableX CONSTRAIN TO self.position.X
    yourVariableY CONSTRAIN TO self.position.Y

    Then use make a rule to "moveto" or "interpolate" to have the follower track to those x and y coordinates after the collision.
Sign In or Register to comment.