- Timestamp:
- May 17, 2019, 3:00:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Boxhead_FS19/src/modules/hover/HoverShip.cc
r12358 r12397 48 48 } 49 49 50 // //moves slightly right and left, that zombieship approaches 51 // void HoverShip::leftright(const Vector2& value) 52 // { 53 // this->steering_.z += 5; 54 // this->steering_.z -= 5; 55 // } 56 50 57 void HoverShip::moveFrontBack(const Vector2& value) 51 58 { this->steering_.z -= value.x; } 52 59 53 60 void HoverShip::moveRightLeft(const Vector2& value) 54 { this->steering_.x += value.x; } 61 { this->steering_.x += value.x; 62 // value.x += 0.001; 63 // value.x -= 0.001; 64 } 55 65 56 66 void HoverShip::moveUpDown(const Vector2& value)
Note: See TracChangeset
for help on using the changeset viewer.