Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4988 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Aug 12, 2005, 4:25:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: using, and optimizing soft-PNode through Camera

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/camera.cc

    r4987 r4988  
    124124    case VIEW_BEHIND:
    125125//      this->toFovy = 120.0;
    126       this->setRelCoorSoft(Vector(3.5, 0, 0));
    127       this->target->setRelCoorSoft(Vector(10,0,0));
    128 
    129       /*this->target->softReparent("main-Turret");
    130       this->setParent("main-Turret");
    131       this->setParentMode(PNODE_ALL);
    132       this->target->setParent("Crosshair");*/
     126//      this->setRelCoorSoft(Vector(3.5, 0, 0));
     127  //    this->target->setRelCoorSoft(Vector(10,0,0));
     128
     129      this->target->softReparent("Player");
     130//      this->setParent("main-Turret");
     131//      this->setParentMode(PNODE_ALL);
     132//      this->target->softReparent("Player");
     133
    133134      break;
    134135    case VIEW_FRONT:
Note: See TracChangeset for help on using the changeset viewer.