MutantStargoat / deeprunner

6dof shooter game for the SGI O2
http://nuclear.mutantstargoat.com/sw/games/deeprunner
GNU General Public License v3.0
16 stars 0 forks source link

Inconsistent wall collision distance #2

Closed jtsiomb closed 1 year ago

jtsiomb commented 1 year ago

Calculating wall collision distance along the motion direction, makes distance calculations depend on the angle relative to the wall. So we can't keep a constant radius collision sphere around the player.

jtsiomb commented 1 year ago

fixed by testing for sphere/polygon intersections