Accelerate toward
![nem](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi!
Today I was just starting experimenting with GameSalad: very nice tool!!
I was trying to set the attribute "accelerate toward" in order to accelerate, say, actor 1 toward actor 2. Problem is that when I go to the expression editor to insert the position of the actor I what to accelerate toward, I find only the possibility to insert the position of the actor I'm editing. That's quite odd, because usually one doesn't want an actor to accelerate toward itself. ;-) I was searching the forum about this issue, but was not able to find anything... Some suggestions?? Thanks a lot in advance!
Nem
Today I was just starting experimenting with GameSalad: very nice tool!!
I was trying to set the attribute "accelerate toward" in order to accelerate, say, actor 1 toward actor 2. Problem is that when I go to the expression editor to insert the position of the actor I what to accelerate toward, I find only the possibility to insert the position of the actor I'm editing. That's quite odd, because usually one doesn't want an actor to accelerate toward itself. ;-) I was searching the forum about this issue, but was not able to find anything... Some suggestions?? Thanks a lot in advance!
Nem
Comments
Ace
on Actor 1
on the instance that you have dragged into your scene
click and unlock it
in the Accelerate Toward Behavior
➩ expression... Current Scene>Layers>whatever layer your actors are on>Actor2>Position>X
⇧ expression... Current Scene>Layers>whatever layer your actors are on>Actor2>Position>Y
MH