Changeset 10549 in orxonox.OLD for trunk/src/world_entities/mount_point.cc
- Timestamp:
- Jan 31, 2007, 6:30:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/mount_point.cc
r10546 r10549 44 44 this->setRelCoor( center); 45 45 this->setRelDir( Quaternion(forward, up)); 46 47 this->_center = center; 48 this->_up = up; 49 this->_forward = forward; 46 50 47 51 this->init(); … … 191 195 { 192 196 PRINTF(0)("=========+>we got a weapon slot at\n"); 193 this->getRelCoor().debug(); 197 this->getAbsCoor().debug(); 198 this->_center.debug(); 194 199 195 200 … … 198 203 199 204 // now set the position, direction and reparent it to this node 200 this->_mount->set RelCoor( this->getRelCoor());201 this->_mount->set RelDir( this->getRelDir());205 this->_mount->setAbsCoor( this->_center); 206 this->_mount->setAbsDir( this->getAbsDir()); 202 207 this->_mount->setParent( this); 203 208 }
Note: See TracChangeset
for help on using the changeset viewer.