void TestCAO::removeFromScene(bool permanent) { if(m_node == NULL) return; m_node->remove(); m_node->drop(); m_node = NULL; }
void TestCAO::step(float dtime, ClientEnvironment *env) { if(m_node) { v3f rot = m_node->getRotation(); //infostream<<"dtime="<<dtime<<", rot.Y="<<rot.Y<<std::endl; rot.Y += dtime * 180; m_node->setRotation(rot); } }
void TestCAO::updateNodePos() { if(m_node == NULL) return; m_node->setPosition(m_position); //m_node->setRotation(v3f(0, 45, 0)); }
void TestCAO::removeFromScene() { if(m_node == NULL) return; m_node->remove(); m_node = NULL; }
Wektor getPosition() const {return wireframe->getPosition();}