collide then move...

This is really odd.. I just put a very simple
1. Rule
2. actor collides Up
3. move 90 at a speed of 300

I made an actor when a ball collides with it it's supposed to move up.. but it only moves for like a milli second.. then the ball completely stops.. Is there something I'm doing wrong here? ...

Comments

  • dapiondapion Member, PRO Posts: 353
    edited September 2014

    ...try the behavior 'Change Velocity' as Move to

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @dapion I completely forgot about that behavior facepalm thanks so much :)

  • ArmellineArmelline Member, PRO Posts: 5,408
    edited September 2014

    I think it's worth taking a moment to explain why your original method didn't work.

    What was happening was you were telling your game, "When you're in contact with the ball, move up at speed 300." The move behaviour does just that - moves the actor. But, it only moves the actor while the behaviour is active. There are many different ways you can move an actor in GameSalad, and each behaves slightly differently. I've attached a project that provides examples of each type of movement.

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @Armelline‌ thanks :)

Sign In or Register to comment.