Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10546 in orxonox.OLD for trunk/src/world_entities/mount_point.cc


Ignore:
Timestamp:
Jan 31, 2007, 5:44:06 AM (17 years ago)
Author:
patrick
Message:

debug, and better slot pos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/mount_point.cc

    r10542 r10546  
    190190    else if( obj->isA( WeaponSlot::staticClassID()))
    191191    {
    192 //       PRINTF(0)("=========+>we got a weapon slot\n");
     192      PRINTF(0)("=========+>we got a weapon slot at\n");
     193      this->getRelCoor().debug();
     194
    193195
    194196      // cast down the object to WE
     
    196198
    197199      // now set the position, direction and reparent it to this node
    198       this->_mount->setAbsCoor( this->getAbsCoor());
    199       this->_mount->setAbsDir( this->getAbsDir());
     200      this->_mount->setRelCoor( this->getRelCoor());
     201      this->_mount->setRelDir( this->getRelDir());
    200202      this->_mount->setParent( this);
    201203    }
Note: See TracChangeset for help on using the changeset viewer.