Changeset 10284 in orxonox.OLD for branches/playability/src/world_entities
- Timestamp:
- Jan 17, 2007, 9:11:34 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/WorldEntities.am
r10235 r10284 82 82 world_entities/environments/building.cc \ 83 83 world_entities/environments/mapped_water.cc \ 84 world_entities/environments/rotor.cc \ 84 85 \ 85 86 world_entities/elements/image_entity.cc \ … … 203 204 environments/building.h \ 204 205 environments/mapped_water.h \ 206 environments/rotor.h \ 205 207 \ 206 208 elements/image_entity.h \ -
branches/playability/src/world_entities/space_ships/space_ship.cc
r10282 r10284 823 823 this->travelNode->setAbsCoor(this->getAbsCoor()); 824 824 this->travelNode->updateNode(0.01f); 825 825 826 826 this->setParent(this->travelNode); 827 828 // If track exists put travelNode on trackNode of track 829 if (this->entityTrack) 830 this->travelNode->setParent(this->entityTrack->getTrackNode()); 831 832 833 827 834 this->setRelCoor(0,0,0); 828 835 829 836 State::getCameraNode()->setParentSoft(this->travelNode); 830 //State::getCameraNode()->setParentSoft(this );837 //State::getCameraNode()->setParentSoft(this->entityTrack->getTrackNode()); 831 838 //State::getCameraNode()->setRelCoorSoft(-0.01, 40, 0); 832 839 State::getCameraTargetNode()->setParentSoft(this->travelNode); 833 //State::getCameraTargetNode()->setParentSoft(this );840 //State::getCameraTargetNode()->setParentSoft(this->entityTrack->getTrackNode()); 834 841 //State::getCameraTargetNode()->setRelCoorSoft(0,0,0); 835 842 this->setCameraMode(Camera::ViewTop); … … 1004 1011 1005 1012 //this moves camera and ship along the travel path. 1006 this->travelNode->shiftCoor(Vector(this->cameraSpeed * dt, 0, 0)); 1013 if (!this->entityTrack) 1014 this->travelNode->shiftCoor(Vector(this->cameraSpeed * dt, 0, 0)); 1007 1015 1008 1016 break; -
branches/playability/src/world_entities/world_entity.cc
r10209 r10284 682 682 this->models[0]->draw(); 683 683 } 684 685 if (this->entityTrack) 686 this->entityTrack->drawGraph(0.02); 684 687 685 688 // if( this->aabbNode != NULL)
Note: See TracChangeset
for help on using the changeset viewer.