Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 22, 2006, 1:40:09 PM (19 years ago)
Author:
bottac
Message:

Ground walk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/creatures/md2_creature.cc

    r8685 r8714  
    112112  this->cameraConnNode.addChild(State::getCameraNode());
    113113  State::getCameraTargetNode()->setRelCoor(10,0,0);
     114 
    114115
    115116
     
    171172  dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( false);
    172173
    173   this->getWeaponManager().getFixedTarget()->setRelCoor(10,0,0);
     174  this->getWeaponManager().getFixedTarget()->setRelCoor(0,0,0);
    174175
    175176}
     
    190191  dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( true);
    191192
    192   State::getCameraNode()->setParentSoft(&this->cameraConnNode);
    193   State::getCameraNode()->setRelCoorSoft(-10, 0,0);
     193  State::getCameraNode()->setParent(&this->cameraConnNode);
     194  State::getCameraNode()->setRelCoor(0, 0,0);
    194195  State::getCameraTargetNode()->setParentSoft(&this->cameraConnNode);
    195196
     
    281282//    this->cameraConnNode.setRelDir(mouseDirY);
    282283
     284  this->cameraConnNode.setRelDir(mouseDirY);
    283285  this->setAbsDir(this->mouseDirX);
    284286}
     
    343345  }
    344346
    345   velocity = accel * 20.0f;
     347  velocity = accel * 40.0f;
    346348  //rot.normalize();
    347349  //this->setRelDirSoft(Quaternion(rotVal, rot), 5);
Note: See TracChangeset for help on using the changeset viewer.