mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
cb2786a789
* update cannon.js & cannon.js declaration * plugin cannon.js collsion event & provide contacts(testing for now) * wrap cannon body impl * add linear\angular factor to rigidbody component * add awake sleepy sleeping state query get property * add apply local force/impulse function to rigidbody component * add builtin macro protection * add linear/angular veloctiy function to rigidbody component * delete some unneed code, enable allowSleep by default * event refactor, trigger emit by shape, collision emit by rigidBody * Builtin system also need 'beforeStep'