- Timestamp:
- Aug 12, 2005, 4:25:23 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r4987 r4988 187 187 188 188 *this->toPosition = relCoordSoft; 189 190 this->toPosition->debug();191 printf("=-==============\n");192 189 } 193 190 … … 426 423 this->toPosition = new Vector(); 427 424 428 *this->toPosition = parentNode->getAbsCoor() +this->getRelCoor();425 *this->toPosition = this->getRelCoor(); 429 426 430 427 Vector tmp = this->getAbsCoor(); … … 494 491 void PNode::update (float dt) 495 492 { 496 497 498 493 if( likely(this->parent != NULL)) 499 494 { … … 506 501 { 507 502 this->shiftCoor(moveVect); 508 moveVect.debug();509 503 } 510 504 else … … 512 506 delete this->toPosition; 513 507 this->toPosition = NULL; 514 PRINTF( 0)("SmoothMove of %s finished\n", this->getName());508 PRINTF(5)("SmoothMove of %s finished\n", this->getName()); 515 509 } 516 510 } -
orxonox/trunk/src/world_entities/camera.cc
r4987 r4988 124 124 case VIEW_BEHIND: 125 125 // 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 133 134 break; 134 135 case VIEW_FRONT:
Note: See TracChangeset
for help on using the changeset viewer.