- Timestamp:
- Apr 11, 2019, 2:06:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.cc
r12281 r12291 92 92 Vector3 positionOtherObject = otherObject->getPosition(); 93 93 Vector3 contactPosition = this->getPosition(); 94 94 orxout() << "About to Bounce >D" << endl; 95 95 //if (positionOtherObject.y < 0) { 96 96 //this.destroy() 97 //} 97 //}S 98 98 //else { 99 99 … … 109 109 110 110 if (distance_X < distance_Y) 111 velocity.y = -velocity.y; 112 if (distance_Y < distance_X) 111 113 velocity.x = -velocity.x; 112 if (distance_Y < distance_X)113 velocity.y = -velocity.y;114 114 else { 115 115 velocity.x = -velocity.x;
Note: See TracChangeset
for help on using the changeset viewer.