Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9189 in orxonox.OLD


Ignore:
Timestamp:
Jul 5, 2006, 7:36:59 AM (18 years ago)
Author:
patrick
Message:

aiming system regrouping and reparenting

Location:
branches/presentation/src/world_entities
Files:
2 edited

Legend:

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

    r9188 r9189  
    245245      this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0));
    246246
    247       this->aimingSystem->toList(/*OM_LIST(this->getOMListNumber() + 1)*/ OM_GROUP_01);
     247      this->aimingSystem->toList(OM_LIST(this->getOMListNumber() + 1) /*OM_GROUP_01*/);
     248      this->aimingSystem->setParent(this->cameraNode);
     249      this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE);
    248250    }
    249251  }
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9188 r9189  
    6565  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, CL_WORLD_ENTITY);
    6666
    67   this->range = 30.0f;
     67  this->range = 1000.0f;
    6868  this->sideLength = 2.0f;
    6969
Note: See TracChangeset for help on using the changeset viewer.