Changeset 3325 in orxonox.OLD for orxonox/branches/parenting/src/player.cc
- Timestamp:
- Jan 3, 2005, 2:45:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/player.cc
r3323 r3325 141 141 if( bUp) { accel = accel+(direction*acceleration); } 142 142 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); } 145 145 if( bAscend ) { /* not yet implemented but just: (0,0,1)*acceleration */} 146 146 if( bDescend) {/* FIXME */} /* \todo up and down player movement */
Note: See TracChangeset
for help on using the changeset viewer.