Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9211 in orxonox.OLD for branches/presentation/src


Ignore:
Timestamp:
Jul 5, 2006, 11:33:15 AM (18 years ago)
Author:
patrick
Message:

weapons placed correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9209 r9211  
    246246    this->aimingSystem->setParent(&this->cameraNode);
    247247//     this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE);
    248     this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.55f, Vector(0,0,1)));
     248    this->aimingSystem->setRelDir(Quaternion(M_PI_4*-0.58f, Vector(0,0,1)));
    249249    this->aimingSystem->setRelCoor(0, -1, -1);
    250250
     
    255255      float f = 1.0;
    256256      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));
    261262    }
    262263  }
     
    364365    this->fallVelocity += 300.0f * time;
    365366    velocity -= Vector(0.0, 1.0, 0.0) * this->fallVelocity;
     367
     368    PRINTF(0)("vel %f\n", velocity);
    366369  }
    367370  else
Note: See TracChangeset for help on using the changeset viewer.