how can i perform animation on my moving object….
and how can i control collisions when some of objects are allowed to collide and some not…i,m beginner to corona and coding as well …i look all the examples i know there r answers of my questions but i cant understand that properly…so any one help me??
how can i perform animation on my moving object…. and how can i control
Share
In Corona when you create a Physics body you can specify the body type: static, kinematic, and dynamic.
Static bodies don’t move, and don’t interact with each other; examples of static objects would include the ground, or the walls of a pinball machine.
Dynamic bodies are affected by gravity and collisions with the other body types.
Kinematic objects are in-between Dynamic and Static bodies but doesn’t response to gravity
For more information check these links: http://developer.anscamobile.com/content/game-edition-physics-bodies and http://developer.anscamobile.com/reference/index/physicsaddbody