43 void CCustomScene::deployPlayer() {
46 m_player->setName(
"__player");
47 m_player->setPosition(btVector3(0, 0.2f, 0));
48 m_player->setbMass(1.0f);
50 m_player->deployIntoDynamicsWorld();
std::string getCameraId() const
CGameObject * getGameObjectHavingTag(int tag) const
CGameObject * createGameObjectWithNode(const std::string &node_id, bool add_to_scene=true, const char *object_type=NULL)
Creates a GameObject based upon the specified Node id.
void setVisible(bool visible)
virtual void launchEnemy(float delay_time, float exposure_time, bool slide)