Changeset 6241 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Dec 21, 2005, 3:36:25 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/world.cc
r6222 r6241 341 341 } 342 342 343 // bind camera344 playable->addChild (this->localCamera);345 343 346 344 // //localCamera->setParent(TrackNode::getInstance()); … … 349 347 // localCamera->lookAt(playable); 350 348 // this->localPlayer->setParentMode(PNODE_ALL); 351 if ( sky != NULL)349 if (this->sky != NULL) 352 350 { 353 351 this->sky->setParent(this->localCamera); 354 352 this->sky->setParentMode(PNODE_MOVEMENT); 355 353 } 356 357 this->localCamera->getTarget()->getParent()->debugNode(0);358 354 SoundEngine::getInstance()->setListener(this->localCamera); 359 355
Note: See TracChangeset
for help on using the changeset viewer.