- Timestamp:
- Dec 11, 2017, 2:14:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBGumba.cc
r11629 r11650 124 124 125 125 Vector3 velocity = getVelocity(); 126 if(velocity.z > -1 && velocity.z < 1) 127 { 128 velocity.x = dir*speed_; 129 } 130 126 131 velocity.z -= gravityAcceleration_*dt; 127 velocity.x = dir*speed_;128 132 setVelocity(velocity); 129 133
Note: See TracChangeset
for help on using the changeset viewer.