I need to slow down a ball for 3 seconds!

patapplepatapple Member Posts: 873
edited August 2012 in Working with GS (Mac)
Hi,

I need to slow down a ball that is moving all around my scene, here is a better explanation:

- my velocity ball is 500 (in the game I don't know exactly how much is the velocity)
- when a specific attribute is true, i need that his velocity is decreased to 300
- after 3 seconds the velocity must go back to 500

How can i do that? Which attribute I need to change?

Thanks a lot because it is very urgent :D

Comments

  • patapplepatapple Member Posts: 873
    I have a change velocity and then the ball bounce against other actors and his velocity change during the game. So, I have a "X" velocity and i need for example to do X-200 so his velocity is decreased of 200 and after 3 seconds i will do X+200. Is there an attribute for this "X"?

    The change velocity works well but i need to put an expression in the speed editor.

    P.s: what must I write in the direction box if I want that the ball continues is movement normally?
  • BoyGeniusStudiosBoyGeniusStudios Member Posts: 92
    Make a rule and set the atribute up top to the one you need. Then make a timer and set it FOR x amount of time change velocity to 300
    -
    Otherwise change velocity 500
  • patapplepatapple Member Posts: 873
    edited August 2012
    @boygeniusstudios read what I and uptimistik wrote over...
Sign In or Register to comment.