Changeset 3537 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 14, 2005, 12:12:12 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3535 r3537 219 219 this->localCamera->setName ("camera"); 220 220 this->localCamera->bind (myPlayer); 221 this->localPlayer->addChild (this->localCamera);222 221 /*monitor progress*/ 223 222 this->glmis->step(); … … 248 247 // trackManager->setBindSlave(env); 249 248 TrackNode::getInstance()->addChild(myPlayer); 250 localCamera->setParent(TrackNode::getInstance()); 249 //localCamera->setParent(TrackNode::getInstance()); 250 this->localPlayer->addChild (this->localCamera); 251 Vector* cameraOffset = new Vector (0, 5, -10); 252 this->localCamera->setRelCoor (cameraOffset); 251 253 trackManager->condition(1, NEAREST, myPlayer); 252 254
Note: See TracChangeset
for help on using the changeset viewer.