Changeset 2006 for code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.cc
- Timestamp:
- Oct 24, 2008, 2:48:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.cc
r1994 r2006 127 127 void ControllableEntity::startLocalControl() 128 128 { 129 std::cout << "###### start local control" << std::endl;129 std::cout << this->getObjectID() << " ###### start local control" << std::endl; 130 130 this->camera_ = new Camera(); 131 131 this->camera_->requestFocus(); … … 155 155 { 156 156 this->velocity_ += (dt * this->acceleration_); 157 this->node_->translate(dt * this->velocity_, Ogre::Node::TS_ PARENT);157 this->node_->translate(dt * this->velocity_, Ogre::Node::TS_LOCAL); 158 158 159 159 if (Core::isMaster())
Note: See TracChangeset
for help on using the changeset viewer.