Introduction to Physics 2D

Cocos Creator 3.0 supports the built-in lightweight builtin physics system and the powerful Box2D physics system. For simpler physics calculations, we recommend that users use the built-in physics module, which avoids the runtime overhead of loading large Box2D physics modules and building physics worlds. The Box2D physics module provides a more complete interaction with the interface and pre-defined components such as rigid bodies and joints.

Choose the physics module that suits your needs, and switch the physics module you use through the Project Setting/Engine Module settings.

Module Setup

Details

Physics 2D Examples

Examples are available on GitHub.

results matching ""

    No results matching ""