Changeset 12291 for code/branches/OrxoBlox_FS19
- Timestamp:
- Apr 11, 2019, 2:06:24 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles
- Files:
-
- 2 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; -
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BasicProjectile.cc
r11108 r12291 85 85 bool BasicProjectile::processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs) 86 86 { 87 orxout() << "OMG A COLLISION" << endl; 87 88 if (!this->bDestroy_ && GameMode::isMaster()) 88 89 {
Note: See TracChangeset
for help on using the changeset viewer.