- Timestamp:
- Dec 11, 2017, 3:03:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBGumbaBoss.cc
r11650 r11653 125 125 dir = -1; 126 126 127 Vector3 velocity = getVelocity(); 127 Vector3 velocity = getVelocity(); //Jump 128 128 if(jumpTime_ > jumpTimeMax_){ 129 129 velocity.z = speed_*15; 130 130 jumpTime_ = 0; 131 131 } 132 else{ 132 else{ //Gravity 133 133 velocity.z -= gravityAcceleration_*dt; 134 134 }
Note: See TracChangeset
for help on using the changeset viewer.