Cocos 2dx 3.x 中物理系統剛體形狀總結

1、圓形php /* @ radius 圓形的半徑 @ material 材質 @ offset 重心偏移 */ static PhysicsBody* createCircle(float radius, const PhysicsMaterial& material = PHYSICSBODY_MATERIAL_DEFAULT, const Vec2& offset
相關文章
相關標籤/搜索