Changeset 7014 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Feb 3, 2006, 2:14:22 PM (19 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.cc
r6997 r7014 203 203 { 204 204 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 205 State::getCamera ()->setParentSoft(this->getWeaponManager()->getFixedTarget());206 State::getCameraTarget ()->setParentSoft(this->getWeaponManager()->getFixedTarget());205 State::getCameraNode()->setParentSoft(this->getWeaponManager()->getFixedTarget()); 206 State::getCameraTargetNode()->setParentSoft(this->getWeaponManager()->getFixedTarget()); 207 207 } 208 208 -
trunk/src/world_entities/space_ships/hover.cc
r6999 r7014 192 192 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 193 193 194 State::getCamera ()->setParentSoft(&this->cameraNode);195 State::getCamera ()->setRelCoorSoft(-10, 0,0);196 State::getCameraTarget ()->setParentSoft(&this->cameraNode);194 State::getCameraNode()->setParentSoft(&this->cameraNode); 195 State::getCameraNode()->setRelCoorSoft(-10, 0,0); 196 State::getCameraTargetNode()->setParentSoft(&this->cameraNode); 197 197 } 198 198 -
trunk/src/world_entities/space_ships/turbine_hover.cc
r7004 r7014 222 222 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 223 223 224 State::getCamera ()->setParentSoft(&this->cameraNode);225 State::getCamera ()->setRelCoorSoft(-10, 0,0);226 State::getCameraTarget ()->setParentSoft(&this->cameraNode);224 State::getCameraNode()->setParentSoft(&this->cameraNode); 225 State::getCameraNode()->setRelCoorSoft(-10, 0,0); 226 State::getCameraTargetNode()->setParentSoft(&this->cameraNode); 227 227 } 228 228
Note: See TracChangeset
for help on using the changeset viewer.