- Timestamp:
- May 7, 2008, 4:39:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/src/orxonox/objects/WorldEntity.cc
r1232 r1245 81 81 if (!this->bStatic_) 82 82 { 83 // COUT(4) << "acceleration: " << this->acceleration_ << " velocity: " << this->velocity_ << std::endl; 83 84 this->velocity_ += (dt * this->acceleration_); 84 85 this->translate(dt * this->velocity_, Ogre::Node::TS_LOCAL); … … 222 223 //register acceleration 223 224 // register velocity_ 224 registerVar( (void*) &(this->getAcceleration().x), sizeof(this->getAcceleration().x), network::DATA, 0x3);225 registerVar( (void*) &(this->getAcceleration().y), sizeof(this->getAcceleration().y), network::DATA, 0x3);226 registerVar( (void*) &(this->getAcceleration().z), sizeof(this->getAcceleration().z), network::DATA, 0x3);225 // registerVar( (void*) &(this->getAcceleration().x), sizeof(this->getAcceleration().x), network::DATA, 0x3); 226 // registerVar( (void*) &(this->getAcceleration().y), sizeof(this->getAcceleration().y), network::DATA, 0x3); 227 // registerVar( (void*) &(this->getAcceleration().z), sizeof(this->getAcceleration().z), network::DATA, 0x3); 227 228 } 228 229
Note: See TracChangeset
for help on using the changeset viewer.