Cocos2dx建立碰撞剛體

joinToWorld函數建立碰撞剛體:函數 void Monster::joinToWorld(Node* parent) {     Sprite* sp = Sprite::createWithSpriteFrameName(m_sModelPath.asString().c_str());       /* 建立剛體 */     PhysicsBody* body = PhysicsBo
相關文章
相關標籤/搜索