Speed related to distance between two actors

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello!
I have two actors, one is accelerating toward the second one. I want it to set it's speed on the distance between these two actors. So the bigger the distance is, the faster the actor will move.
Can anyone please help me?

Thank you!

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Simply constrain a game attribute to the magnitude of the actors and then use something like accelerate and place that game attribute as the speed.
Sign In or Register to comment.