Changeset 10321 in orxonox.OLD for trunk/src/world_entities/creatures
- Timestamp:
- Jan 24, 2007, 10:28:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/fps_player.cc
r10316 r10321 119 119 registerEvent(EV_MOUSE_MOTION); 120 120 121 121 this->aimingSystem = NULL; 122 122 123 123 // weapon manager for the fps … … 241 241 242 242 243 this->aimingSystem->toList(OM_GROUP_01); 244 this->aimingSystem->setParent(&this->cameraNode); 245 // this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE); 246 this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.58f, Vector(0,0,1))); 247 this->aimingSystem->setRelCoor(0, -1, -1); 243 if( this->aimingSystem != NULL) 244 { 245 this->aimingSystem->toList(OM_GROUP_01); 246 this->aimingSystem->setParent(&this->cameraNode); 247 // this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE); 248 this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.58f, Vector(0,0,1))); 249 this->aimingSystem->setRelCoor(0, -1, -1); 250 } 248 251 249 252
Note: See TracChangeset
for help on using the changeset viewer.