how can i simulate wind by swiping on the screen, so i can move the actors that are falling
Comments
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
You could do something that increases the scene.gravity.x attribute but at the same time that affect the whole scene. You could prob spawn an actor with your touch that followed your finger and colliding with whatever your moving. I don't think either of those would appear very realistic.
I could also see using a when touch is inside rule to move the actors a small amount. that may produced the most realistic wind gust.
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
Here I gave my first ever demo a try. This kinda works like you were talking. It may help to get you in the right direction.
Comments
I could also see using a when touch is inside rule to move the actors a small amount. that may produced the most realistic wind gust.
http://gamesalad.com/game/6632