Location = random + attribute
Hi Everyone,
I am trying to set up a behaviour where an actor spawns to target location plus or minus 20. The location is where the touch has been presses. So I have it running something like this:
Spawn actor - location = touchx+random(+10,-10)
Any help would be great thanks
Craig
I am trying to set up a behaviour where an actor spawns to target location plus or minus 20. The location is where the touch has been presses. So I have it running something like this:
Spawn actor - location = touchx+random(+10,-10)
Any help would be great thanks
Craig
Comments