Changeset 3505 in orxonox.OLD for orxonox/branches/trackManager/src
- Timestamp:
- Mar 11, 2005, 9:08:55 PM (20 years ago)
- Location:
- orxonox/branches/trackManager/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager/src/story_entities/world.cc
r3500 r3505 222 222 this->localCamera->setName ("camera"); 223 223 this->localCamera->bind (myPlayer); 224 this->localPlayer->addChild (this->localCamera);224 //this->localPlayer->addChild (this->localCamera); 225 225 226 226 // Create SkySphere … … 240 240 241 241 trackManager->setBindSlave(TrackNode::getInstance()); 242 env->setParent(TrackNode::getInstance()); 242 TrackNode::getInstance()->addChild(myPlayer); 243 TrackNode::getInstance()->addChild(localCamera); 243 244 244 245 break; -
orxonox/branches/trackManager/src/track_node.cc
r3500 r3505 41 41 TrackNode::TrackNode () 42 42 { 43 this->setParent(NullParent::getInstance());43 NullParent::getInstance()->addChild(this); 44 44 this->trackManager = TrackManager::getInstance(); 45 45 this->mode = ALL; -
orxonox/branches/trackManager/src/world_entities/player.cc
r3498 r3505 202 202 //l->dist = l->dist + travelSpeed * time; 203 203 204 Vector* shift = new Vector (this->travelSpeed * time, 0, 0);205 this->shiftCoor (shift);204 //Vector* shift = new Vector (this->travelSpeed * time, 0, 0); 205 // this->shiftCoor (shift); 206 206 207 207 /* this updates the player position on the track - user interaction */
Note: See TracChangeset
for help on using the changeset viewer.