Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12007


Ignore:
Timestamp:
May 24, 2018, 5:02:32 PM (7 years ago)
Author:
dreherm
Message:

Test 2

Location:
code/branches/3DPacman_FS18/src/modules/pacman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointAfraid.cc

    r11992 r12007  
    7676    {
    7777        resetposition = this->getPosition();
    78       if((abs(resetposition.x - playerpos.x)<5) && (abs(resetposition.y - playerpos.y)<5) && (abs(resetposition.z - playerpos.z)<5)){
     78      if((abs(resetposition.x - playerpos.x)<10) && (abs(resetposition.y - playerpos.y)<10) && (abs(resetposition.z - playerpos.z)<10)){
    7979        this->setPosition(Vector3(resetposition.x, -50, resetposition.z));
    8080        return true;
  • code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointSphere.cc

    r12003 r12007  
    7676    {
    7777        resetposition = this->getPosition();
    78       if((abs(this->resetposition.x - playerpos.x)<5) && (abs(this->resetposition.y - playerpos.y)<5) && (abs(this->resetposition.z - playerpos.z)<5)){
     78      if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)<10)){
    7979        this->setPosition(Vector3(resetposition.x, -50, resetposition.z));
    8080        return true;
Note: See TracChangeset for help on using the changeset viewer.