I need help with collisions
I am trying to do a simple ball drops into cup motion. I made walls around the cup but the ball keeps going through them. What settings do I need to make it so the ball wont go through and the ball bounces just a little.
Comments
Open up the ball actor on the left side, in the actor bin. Drop in a collide behavior from the list of behaviors underneath the actor bin, and have it collide with the wall actor.
Take a look at these links. They will help teach you all the basics of making a game with GameSalad. All sorts of resources to get you going, and these forums are great for information on recent developments, and help with any problems you come across.
Welcome to the forums!
\m/
http://www.youtube.com/user/GameSaladCookbook/videos
http://gshelper.com/
http://www.deepblueapps.com/
http://www.youtube.com/user/dsouza41
http://www.deepblueapps.com/drag-throw-physics/
Darren.
In the 'collide' behaviour select your wall actor as the thing you want the ball to collide with.
In both the ball actor and the wall actor adjust the 'bounciness' settings (under attributes > physics) to your taste.
In the wall actor switch off 'movable' (under attributes > physics) so the walls don't get pushed around when the ball hits them.
Excellent template !
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page