Changeset 3643 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 23, 2005, 11:20:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3641 r3643 305 305 this->localCamera->setName ("camera"); 306 306 this->localCamera->lookAt(this->localPlayer); 307 Vector* cameraOffset = new Vector (-2, 2, 0); 308 this->localCamera->setRelCoor (cameraOffset); 307 this->localCamera->setParent(this->localPlayer); 309 308 310 309 /*monitor progress*/ … … 341 340 342 341 //localCamera->setParent(TrackNode::getInstance()); 343 tn->addChild (this->localCamera); 342 tn->addChild(this->localCamera); 343 // localCamera->lookAt(tn); 344 344 this->localPlayer->setMode(PNODE_ALL); 345 345 //Vector* cameraOffset = new Vector (0, 5, -10); … … 858 858 else if( !strcmp( cmd->cmd, "view3")) this->localCamera->setViewMode(VIEW_LEFT); 859 859 else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT); 860 else if( !strcmp( cmd->cmd, "view5")) this->localCamera->setViewMode(VIEW_TOP); 860 861 861 862 return false;
Note: See TracChangeset
for help on using the changeset viewer.