Changeset 6208 in orxonox.OLD for branches/christmas_branche/src/world_entities/camera.cc
- Timestamp:
- Dec 21, 2005, 2:47:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/camera.cc
r6034 r6208 119 119 case VIEW_NORMAL: 120 120 this->toFovy = 60.0; 121 this->setParentSoft("TrackNode");122 this->target->setParentSoft("TrackNode"); 121 /* this->setParentSoft("TrackNode"); 122 this->target->setParentSoft("TrackNode"); */ 123 123 this->setRelCoorSoft(-10, 5, 0); 124 124 this->target->setRelCoorSoft(0,0,0); … … 129 129 // this->target->setRelCoorSoft(Vector(10,0,0)); 130 130 131 if (!strcmp(this->target->getParent()->getName(), "Player"))132 this->target->setParentSoft("TrackNode");133 else134 this->target->setParentSoft("Player");135 this->getParent()->debugNode(0);131 // if (!strcmp(this->target->getParent()->getName(), "Player")) 132 // this->target->setParentSoft("TrackNode"); 133 // else 134 // this->target->setParentSoft("Player"); 135 // this->getParent()->debugNode(0); 136 136 137 137 // this->setParent("main-Turret"); … … 142 142 case VIEW_FRONT: 143 143 this->toFovy = 120.0; 144 this->setParentSoft("Player");145 this->target->setParentSoft("Player"); 144 /* this->setParentSoft("Player"); 145 this->target->setParentSoft("Player");*/ 146 146 this->setRelCoorSoft(4, 0, 0, 5); 147 147 this->target->setRelCoorSoft(Vector(10,0,0), 5); … … 150 150 case VIEW_LEFT: 151 151 this->toFovy = 90; 152 this->setParentSoft("TrackNode");153 this->target->setParentSoft("TrackNode"); 152 /* this->setParentSoft("TrackNode"); 153 this->target->setParentSoft("TrackNode");*/ 154 154 this->setRelCoorSoft(0, 1, -10, .5); 155 155 this->target->setRelCoorSoft(0,0,0); … … 157 157 case VIEW_RIGHT: 158 158 this->toFovy = 90; 159 this->setParentSoft("TrackNode");160 this->target->setParentSoft("TrackNode"); 159 /* this->setParentSoft("TrackNode"); 160 this->target->setParentSoft("TrackNode");*/ 161 161 this->setRelCoorSoft(Vector(0, 1, 10)); 162 162 this->target->setRelCoorSoft(0,0,0); … … 164 164 case VIEW_TOP: 165 165 this->toFovy= 120; 166 this->setParentSoft("TrackNode");167 this->target->setParentSoft("TrackNode"); 166 /* this->setParentSoft("TrackNode"); 167 this->target->setParentSoft("TrackNode");*/ 168 168 this->setRelCoorSoft(Vector(30, 50, 0)); 169 169 this->target->setRelCoorSoft(35,0,0);
Note: See TracChangeset
for help on using the changeset viewer.