Changeset 9211 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 11:33:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/creatures/fps_player.cc
r9209 r9211 246 246 this->aimingSystem->setParent(&this->cameraNode); 247 247 // this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE); 248 this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.5 5f, Vector(0,0,1)));248 this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.58f, Vector(0,0,1))); 249 249 this->aimingSystem->setRelCoor(0, -1, -1); 250 250 … … 255 255 float f = 1.0; 256 256 this->cameraNode.setRelCoor(0, box->halfLength[1] * f, 0); 257 this->cameraNode.setRelCoor(10, box->halfLength[1] * f, 0); 258 259 this->getWeaponManager().setSlotPosition(0, Vector(-8.0, box->halfLength[1] * f - 1.5, 1.1)); 260 this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0)); 257 // this->cameraNode.setRelCoor(10, box->halfLength[1] * f, 0); 258 259 float v = 0.1f; 260 this->getWeaponManager().setSlotPosition(0, Vector(-8.0, box->halfLength[1] * v, 1.1)); 261 this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * v, 0.0)); 261 262 } 262 263 } … … 364 365 this->fallVelocity += 300.0f * time; 365 366 velocity -= Vector(0.0, 1.0, 0.0) * this->fallVelocity; 367 368 PRINTF(0)("vel %f\n", velocity); 366 369 } 367 370 else
Note: See TracChangeset
for help on using the changeset viewer.