Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 4, 2005, 11:19:29 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: ability to set a Slots Direction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon_manager.cc

    r4959 r4969  
    161161    this->currentSlotConfig[slot].position.setRelCoor(position);
    162162}
     163
     164void WeaponManager::setSlotDirection(int slot, const Quaternion& rotation)
     165{
     166  if (slot < this->slotCount)
     167    this->currentSlotConfig[slot].position.setRelDir(rotation);
     168}
     169
    163170
    164171/**
Note: See TracChangeset for help on using the changeset viewer.