Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

increase speed issue

scitunesscitunes Posts: 4,047Member, Sous Chef
edited November -1 in Tech Support
I have an actor that I want to move around the scene randomly. So I created boundaries with wall actors. I set up some rules:

Change velocity to random (0,360)
speed (game.speed*200)

I created the game.speed so that I could also have a timer that says every 10 seconds change attribute game.speed to game.speed+0.2

I was hoping this would make my actor speed up every 10 seconds so that it becomes harder and harder to stay away from him.

I think the problem is that I also have a rule that says to change the velocity to a random (0,360) every time a wall is hit. This makes the actor unpredictable. This behavior is the same as the change attribute above.

So, is there a way to make an actor speed up and still change the velocity to a random angle upon collision with a wall?
This discussion has been closed.