Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8805 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jun 26, 2006, 4:56:45 PM (18 years ago)
Author:
patrick
Message:

trunk: generic npc model wolking function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/generic_npc.cc

    r8802 r8805  
    123123{
    124124
    125 }
    126 
    127 
    128 /**
    129  * walt to
    130  * @param coordinate: coordinate to go to
    131  */
    132 float GenericNPC::walkTo(const Vector& coordinate, const Quaternion& dir)
    133 {
    134 
    135   return true;
    136125}
    137126
     
    183172{
    184173  return this->walkTo(x, y, 0.0f, qu, qx, qy, qz);
     174}
     175
     176
     177/**
     178 * walk to a specific place with direction
     179 *
     180 * @param coor: vector place
     181 * @param dir: direction
     182 *
     183 */
     184float GenericNPC::walkTo(const Vector& coor, const Quaternion& dir)
     185{
     186  return this->walkTo(coor.x, coor.y, coor.z, dir.w, dir.v.x, dir.v.y, dir.v.z);
    185187}
    186188
Note: See TracChangeset for help on using the changeset viewer.