Help please- move actor around scene
outasite
Member Posts: 417
I am on to the next one. Can anyone help me? I have an actor and I need it to randomly traverse its way around a screen.
Right now, I have;
rndX=random (50,230)
rndY=random (20,140)
accelerate to (rndX,rndY)
rule; hits (rndX,rndY)
rndX=random (50,230)
rndY=random (20,140)
accelerate to (rndX,rndY)
But it leaves the scene...
For example I need the top one, but receive the bottom one.
Thanks Guys
Right now, I have;
rndX=random (50,230)
rndY=random (20,140)
accelerate to (rndX,rndY)
rule; hits (rndX,rndY)
rndX=random (50,230)
rndY=random (20,140)
accelerate to (rndX,rndY)
But it leaves the scene...
For example I need the top one, but receive the bottom one.
Thanks Guys
Comments
Matt
Actor:
-Max speed: 150
-Apply Max Speed
Timer: (Run to completion)
Every 1 second
-Accelerate to X: random(-100,580) Y: random(-100,420)
Acceleration: 300
Thanks Guys,
You rock.
Can always count on the community.