Changeset 10551 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 31, 2007, 6:43:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/mount_point.cc
r10549 r10551 38 38 MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name) 39 39 { 40 PRINTF(0)("Created mount point %s\n", name.c_str());40 // PRINTF(0)("Created mount point %s\n", name.c_str()); 41 41 this->registerObject(this, MountPoint::_objectList); 42 42 … … 194 194 else if( obj->isA( WeaponSlot::staticClassID())) 195 195 { 196 PRINTF(0)("=========+>we got a weapon slot at\n");197 this->getAbsCoor().debug();198 this->_center.debug();196 // PRINTF(0)("=========+>we got a weapon slot at\n"); 197 // this->getAbsCoor().debug(); 198 // // this->_center.debug(); 199 199 200 200 … … 204 204 // now set the position, direction and reparent it to this node 205 205 this->_mount->setAbsCoor( this->_center); 206 this->_mount->setAbsDir( this->getAbsDir());206 this->_mount->setAbsDir( Quaternion(_forward, _up)); 207 207 this->_mount->setParent( this); 208 208 }
Note: See TracChangeset
for help on using the changeset viewer.