RT
box2d 里面 this.m_invI 为0 . 导致没有影响角速度。
该怎么处理?
暂时直接
this.rigidBody = this.getComponent(cc.RigidBody);
this.rigidBody._b2Body.m_invI = 0.1;
这样凑合用了
RT
box2d 里面 this.m_invI 为0 . 导致没有影响角速度。
该怎么处理?
暂时直接
this.rigidBody = this.getComponent(cc.RigidBody);
this.rigidBody._b2Body.m_invI = 0.1;
这样凑合用了