friction between frictionless materials

I’m working on a simple demo project with the built in first person template game and for some reason the character controller gets slowed waaaay down when walking into pro builder walls at an angle. both the character and walls have 0 friction materials applied to them. what could be causing this?

Pro builder walls are no different from any other mesh.

When you say “at an angle”, keep in mind that the character should slow down even if frictionless, since all velocity in the direction of the wall’s normal vector will get removed. Only the tangential velocity will remain. Friction only affects tangential velocity, so in case of zero friction you’ll get 100% of the tangential velocity and 0% of the normal velocity.

So the more “head on” you hit the wall, the more your character will slow down, even in the absence of friction.

is there a known way to alter this effect? I’m looking for a doom-esque movement system where wall sliding is nearly as fast as regular movement. currently, Mine has the issue where hitting a wall, even at an almost parallel angle slows the player down to a grinding halt. I just tried increasing the base movement speed and that had almost no effect on the wall sliding speed

I also think it’s worth noting that previous projects using the built in FPS template of mine haven’t had this issue

i’d recommend looking into the quake (doom and quake have some movement similarities) source code for this, that’s what i did and it makes a huge difference in the predictability of your movement. if anything’s confusing to you, please message back and i’ll help since i’ve already implemented this myself.

in my implementation i directly modify the player’s velocity, i never use addforce or anything like that.
there’s also good code for climbing stairs in here, which i’d also be willing to help with.

player movement code
Quake/QW/client/pmove.c at master · id-Software/Quake · GitHub
easy explanation of why things do what they do
The code behind Quake’s movement tricks explained (bunny-hopping, wall-running, and zig-zagging) (youtube.com)
also interesting:
Strafe-jumping physics explained (youtube.com)