i want Actor (a) to follow Actor (b)

jomediajomedia Member Posts: 18
edited April 2012 in Working with GS (Mac)
hello guys

i want someone to help me with this problem please

i got 2 actors i want one of them to follow the other one with different speeds i try to do constrain attribute but i don't know how can i control the speed .... i want the actor b to follow actor a no matter where it goes and with various speeds

i don't know if i am explaining my self well here or not

thank you all and forgive me for my poor english :)

Best Answer

  • calvin9403calvin9403 Posts: 3,186
    Accepted Answer
    constrain it's x and y will be the easiest way to do

Answers

  • jomediajomedia Member Posts: 18
    ya i know that but i mean if actor b slower than actor a then it will take longer time to catch up with actor a that what i want to achieve by changing the speed of each actor
  • windycranewindycrane Member Posts: 1
    edited April 2012
    set two game attributes to save the actor 1's position.constrain the actor 1's position to the two game attributes.
    use the "move to" behavior to make actor b follow the two game attributes.
    to limit the actor b's speed,set actor b's max speed,and check the "apply max speed".
    if u want to change the actor b's following speed,set a game attribute to control.
    hope this will help.
  • jomediajomedia Member Posts: 18
    i am wondering if i can make attribute that capture my Actor (a) postion then i can constrain Actor (b) postion to this attribute
Sign In or Register to comment.