mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
811ed11bfa
* default physics material useing internal asset : default-physics-material.pmtl. todo: Project Setting's physics material config need to use this asset too. (#12662) * support set default physics material value from project setting panel. It will effect the packaging processing, and scene loading(todo). this value will not be saved to default-physics-material.pmtl. * fix physics-system unit test failure: physics system 's constructAndRegister() will directly init default physics material if the default physics material asset is ready * minor modification of PhysicsSystem::_updateMaterial