Type Library Revision 2017.3083 Keywords physics, collision, joint, Box2D See also Physics Setup (guide) Physics Bodies (guide) Collision Detection (guide) Physics Joints (guide) Physics Notes/Limitations (guide)
Some features or functionality outlined in this document only apply to daily builds since the current public release. Please see the inline notes below for details.
Physics are commonly used for apps that involve a simulation of objects that move, collide, and interact under various physical forces like gravity. Corona makes it very easy to add physics to your apps, even if you've never worked with a physics engine before. While the underlying engine is built around the popular Box2D, we've taken a different design approach which eliminates a lot of the coding that is traditionally required.
To work with the Corona physics engine, just begin with familiar Corona display objects. Corona treats physical body properties as an extension of its graphics objects, so any standard display object including images, vector objects, or animated sprites can be "made physical" and they will automatically interact with other objects in the simulation.
The current public release is 2017.3068. Starting in daily build 2017.3073, the two functions indicated below are available.