HI PEOPLE
this problem has been bugging me forever ive tried a variety of workarounds (like cutting the player ent's horizontal momentum when it reaches a wall) but none of them ar quite CLEAN enough for me and i was wondering if anyone else has this trouble and if so what did you end up doing about it?
when an entity presses into a wall with c_move(my,blahblah,GLIDE); it shudders in and out from the wall! it only happens when the entity is not actually sliding along the wall, like when vertical absdist is zero, or when the floor prevents any vertical movement ie when pressed into a corner.
this doesnt happen with the floor either, the entity sits perfectly on the floor when executing
c_move(my,nullvector,vector(0,0,-5 * time_step),GLIDE); repeatedly
only the walls are the problem.
also maybe worth noting here, the entity does not seem to ever pass into the wall. it just touches the wall and moves away from it and moves forward to touch it again in a vibrating pattern.
any feedback appreciated