accelerate toward and random issue
tufire
Member, PRO Posts: 17
so i have an actor how random accelerates toward a position.
In accelerate toward
I have x=random(10,558) y=10
for some reason it just gives the middle of the 2 number (min and max). all the actors are heading toward 274 i think.
In accelerate toward
I have x=random(10,558) y=10
for some reason it just gives the middle of the 2 number (min and max). all the actors are heading toward 274 i think.
Comments
Hi @tufire
Try something like this: make an integer attribute, let's call it xPos
Change Attribute xPos to random(10,558)
In Accelerate Towards behaviour:
Position x to be xPos position y to be 10
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps