VictorienXP / gmod-enhanced-camera-2

Maintained version of the original Enhanced Camera for Garry's Mod

Home Page:https://steamcommunity.com/sharedfiles/filedetails/?id=2203217139

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wierd Camera Movement When Crouching

opened this issue · comments

When I crouch the camera weirdly moves down and then goes back up a little under the normal standing height.
I am also running a dedicated server.

Example Video

I found that by setting "Dynamic view height" to Disabled Mode from Real Time Mode. except it makes it so when I crouch it will put me halfway in the ground until I stand back up again.

I managed to fix this for the most part by setting some commands. "sv_ec2_dynamicheight 0" fixes the movement and "sv_ec2_dynamicheight_min 45.00" fixes the teleporting in the ground

commented

I think that might be due to lag: view height might not be set fast enough since it's set from the server.
I'm not sure what I can do about that for now without rewriting all that stuff again...
I'll probably rewrite it so the view height code runs on both the client and server, this might fix that weirdness.