Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2019, 11:23:15 AM (6 years ago)
Author:
peterf
Message:

Pink Bug Workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS19/src/modules/pacman/Pacman.cc

    r12316 r12338  
    140140    //Check for collisions between to objects (compare float numbers)
    141141    bool Pacman::collis(Vector3 one, Vector3 other){
    142         if((abs(one.x-other.x)<10) && (abs(one.y-other.y)<10) && (abs(one.z-other.z)<10))
     142        if((abs(one.x-other.x)<19) && (abs(one.y-other.y)<10) && (abs(one.z-other.z)<19))
    143143            return true;
    144144        return false;
Note: See TracChangeset for help on using the changeset viewer.