Changeset 10297 in orxonox.OLD for branches/playability/src/world_entities/space_ships
- Timestamp:
- Jan 20, 2007, 9:27:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10291 r10297 843 843 this->travelNode->updateNode(0.01f); 844 844 this->isTravelDistanceInit = false; 845 846 if(this->entityTrack) 847 this->travelNode->setParent(this->entityTrack->getTrackNode()); 845 848 846 849 this->setParent(this->travelNode); … … 1027 1030 1028 1031 //this moves camera and ship along the travel path. 1029 this->travelNode->shiftCoor(Vector(this->cameraSpeed * dt, 0, 0)); 1032 if(!this->entityTrack) 1033 this->travelNode->shiftCoor(Vector(this->cameraSpeed * dt, 0, 0)); 1030 1034 1031 1035 break;
Note: See TracChangeset
for help on using the changeset viewer.