Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3325 in orxonox.OLD


Ignore:
Timestamp:
Jan 3, 2005, 2:45:52 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/parenting: fixed the player control - orientation problem :)

Location:
orxonox/branches/parenting/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/player.cc

    r3323 r3325  
    141141  if( bUp) { accel = accel+(direction*acceleration); }
    142142  if( bDown) { accel = accel-(direction*acceleration); }
    143   if( bLeft ) { accel = accel + (orthDirection*acceleration); }
    144   if( bRight ) { accel = accel - (orthDirection*acceleration); }
     143  if( bLeft ) { accel = accel - (orthDirection*acceleration); }
     144  if( bRight ) { accel = accel + (orthDirection*acceleration); }
    145145  if( bAscend ) { /* not yet implemented but just: (0,0,1)*acceleration */}
    146146  if( bDescend) {/* FIXME */} /* \todo up and down player movement */
  • orxonox/branches/parenting/src/stdincl.h

    r3324 r3325  
    3131
    3232#include "vector.h"
    33 #include "matrix.h"
    3433#include "curve.h"
    3534#include "coordinates.h"
Note: See TracChangeset for help on using the changeset viewer.