这是一个简单的在CocosCreater 3.8.x中使用Rapier2d物理引擎的样例
3.6.x以上上都支持 ,因为是用的wasm库 "@dimforge/rapier2d-compat": "^0.15.0"
3.6.x以上上都支持 ,因为是用的wasm库
"@dimforge/rapier2d-compat": "^0.15.0"
npm install
https://soidaken.github.io/flashfin-rapier2d-runpage/
如果对你有帮助,请不吝赞助我一杯卡布奇诺☕️,谢谢!