cocos 物体刚体

刚体添加物理材质
1)物理材质 physical material
2)配置物理材质参数

this.node.getComponent(RigidBody)

角速度单位弧度
线性速度,米/s

给刚体力
applyForce:世界空间,世界坐标系xyz

posted @ 2022-06-12 14:45  Running00  阅读(121)  评论(0编辑  收藏  举报