引用: 板凳
b2MassData * MassData = new b2MassData;
MassData->mass = 0.1f; MassData->I = 0.0f; b2Vec2 center; center.Set(0.1f, 0.1f); MassData->center = center; body->SetMassData(MassData);
微云
WYPoint wy = null;
// wy.x = 1;// wy.y = 2;// md.center = wy;// // body.setMassData(md);