Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7003 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Feb 3, 2006, 2:55:14 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed a nasty PNode bug …
@patrick: you were right about it being still debugged :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/turbine_hover.cc

    r7001 r7003  
    121121  this->cameraNode.addNodeFlags(PNODE_PROHIBIT_CHILD_DELETE);
    122122  //this->cameraNode.setParentMode(PNODE_ROTATE_MOVEMENT);
    123   this->cameraNode.setParent(this);
     123  //this->cameraNode.setParent(this);
    124124
    125125  // rotors
     
    273273
    274274  // TRYING TO FIX PNode.
    275 /*  this->cameraNode.setAbsCoorSoft(this->getAbsCoor() + Vector(0,5,0), 30);
    276   this->cameraNode.setAbsDirSoft(this->getAbsDir(), 30);*/
     275  this->cameraNode.setAbsCoorSoft(this->getAbsCoor() + Vector(0.0f, 5.0f, 0.0f), 30.0f);
     276  this->cameraNode.setRelDirSoft(this->getAbsDir(), 30.0f);
     277  this->cameraNode.getAbsDir().debug();
    277278}
    278279
Note: See TracChangeset for help on using the changeset viewer.