Skip to main content
5 events
when toggle format what by license comment
Dec 6, 2015 at 18:36 comment added Malrig Hmm, I see what you mean. I guess you could impose a deceleration in the opposite direction of the velocity if the velocity is above the minimum (instead of just limiting it). This will have an effect similar to static friction when pressing against a wall (but not exactly the same).
Dec 4, 2015 at 20:13 comment added user3124047 Limiting the velocity as you suggested works if I don't change directions while hitting the wall. If for example I'm moving parallel to the wall and I suddenly change directions to move perpendicular to the wall, the character will stop immediately because the dot product of the wall and input normal becomes zero making the max velocity zero.
Dec 3, 2015 at 19:58 history edited Malrig CC BY-SA 3.0
added 143 characters in body
Dec 3, 2015 at 16:35 history edited Malrig CC BY-SA 3.0
added 5 characters in body
Dec 3, 2015 at 16:29 history answered Malrig CC BY-SA 3.0