Changeset 4444 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jun 1, 2005, 10:17:14 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4442 r4444 447 447 tn->addChild(this->localCamera); 448 448 localCamera->lookAt(tn); 449 localCamera->set Mode(PNODE_MOVEMENT);450 this->localPlayer->set Mode(PNODE_ALL);449 localCamera->setParentMode(PNODE_MOVEMENT); 450 this->localPlayer->setParentMode(PNODE_ALL); 451 451 Vector* cameraOffset = new Vector (0, 5, -10); 452 452 trackManager->condition(2, LEFTRIGHT, this->localPlayer); … … 625 625 this->spawn(this->sky); 626 626 this->localCamera->addChild(this->sky); 627 this->sky->set Mode(PNODE_MOVEMENT);627 this->sky->setParentMode(PNODE_MOVEMENT); 628 628 /*monitor progress*/ 629 629 this->glmis->step(); … … 659 659 660 660 tn->addChild(this->localCamera); 661 this->localPlayer->set Mode(PNODE_ALL);661 this->localPlayer->setParentMode(PNODE_ALL); 662 662 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 663 663 */ … … 1143 1143 entity->setRelCoor (*relCoor); 1144 1144 entity->setRelDir (*relDir); 1145 entity->set Mode(parentingMode);1145 entity->setParentMode(parentingMode); 1146 1146 1147 1147 this->entities->add (entity);
Note: See TracChangeset
for help on using the changeset viewer.