Author Topic: Player movement bug(?)  (Read 961 times)

Code: [Select]
maxSideSpeed = "0";
maxUnderwaterSideSpeed = "0";
maxSideCrouchSpeed = "0";
maxSideProneSpeed = "0";
I made a player type with those features. It works as it should when you are walking/crouching on the ground. But if you jet you can move sideways just fine. Also, if you walk forward and then walk sideways you can still walk horizontally. Bug?



It may not be a bug, so much as the way the movement system is made conflicting with your movement restriction.

i dont know what to say REALY, (My only background knowlage is an intermediate grasp of LUA)

diagonal movement may have its own set of properties,   and as for jetting, it may also be diffrent. (its all fluid and what not, unlike walking. makes me think vector3 inputs....)maybe you need to find a way to restrict any sideways movement input.

There are air control variables for in-air movement.

I don't think you can disable strafing as such.