- Timestamp:
- May 25, 2018, 10:17:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointSphere.cc
r12007 r12009 76 76 { 77 77 resetposition = this->getPosition(); 78 if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)< 10)){78 if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)<5)){ 79 79 this->setPosition(Vector3(resetposition.x, -50, resetposition.z)); 80 80 return true;
Note: See TracChangeset
for help on using the changeset viewer.