Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: softPNode finished for Movement only

File:
1 edited

Legend:

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

    r4988 r4989  
    127127  //    this->target->setRelCoorSoft(Vector(10,0,0));
    128128
    129       this->target->softReparent("Player");
     129      if (!strcmp(this->target->getParent()->getName(), "Player"))
     130        this->target->softReparent("TrackNode");
     131      else
     132        this->target->softReparent("Player");
     133
    130134//      this->setParent("main-Turret");
    131135//      this->setParentMode(PNODE_ALL);
Note: See TracChangeset for help on using the changeset viewer.