Changeset 1993 for code/branches/objecthierarchy/src/orxonox/objects/worldentities/PositionableEntity.cc
- Timestamp:
- Oct 22, 2008, 5:25:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/PositionableEntity.cc
r1960 r1993 57 57 REGISTERDATA(this->getOrientation().z, network::direction::toclient); 58 58 } 59 60 void PositionableEntity::tick(float dt) 61 { 62 // I don't know why but this has to be done to update the position if attached to another Entity 63 this->node_->translate(Vector3::ZERO); 64 std::cout << this->getWorldPosition() << std::endl; 65 } 59 66 }
Note: See TracChangeset
for help on using the changeset viewer.