collide then move...
http_gamesalad
Member Posts: 1,340
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
...try the behavior 'Change Velocity' as Move to
dapion.de
[https://twitter.com/dapionde?]
@dapion I completely forgot about that behavior facepalm thanks so much
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.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline thanks