how to make an actor accelerate towards another actor on its own

htl2195htl2195 Member Posts: 26
edited November -1 in Working with GS (Mac)
title says it all

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make 2 real attribute gotox and gotoy (call them whatver you want, those are just my examples)

    in the object you want the other one to be pulled to, constrain attribute gotox to self position x and cconstrain attriubte gotoy to self position y

    then in the object you want to accelerate, have a accelerate towards behavior with attriute gotox in the x posiiotn, and attribute gotoy in the y

    cheers
  • htl2195htl2195 Member Posts: 26
    i tried that and it did not work. the actor just goes to a random point on the screen
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make sure the accelerate to is relative to scene. If it still doesnt work, post a screenshot of your rules because this works

    cheers
  • htl2195htl2195 Member Posts: 26
    thanks, i had it set relative to actor instead of scene!
Sign In or Register to comment.