A class used to store the inputs from CUserCmd and other information related to the current movement simulation, such as velocity, position and so on.
Returns the angle the player is moving at. For more info, see CMoveData:SetMoveAngles.
Gets the aim angle. Only works clientside, server returns same as CMoveData:GetAngles.
Returns the vertical speed of the player. ( Z axis of CMoveData:GetVelocity )
Gets the players velocity.
Returns whether the key was pressed. If you want to check if the key is held down, try CMoveData:KeyDown
Sets absolute move angles.( ? ) Doesn't seem to do anything.
Sets the radius that constrains the players movement.
It is unknown what this function does as changing its values doesn't affect player movement.
Sets the impulse command. This isn't actually utilised in the engine anywhere.
Sets the maximum player speed. Player won't be able to run or sprint faster then this value.
This must be called on both client and server to avoid prediction errors.
This will not reduce speed in air.
Sets the serverside move angles, making the movement keys act as if player was facing that direction.
Sets old aim angles. ( ? ) Doesn't seem to be doing anything.
Sets the 'old' pressed buttons on the move data. These buttons are used to work out which buttons have been released, which have just been pressed and which are being held down.
Sets vertical speed of the player. ( Z axis of CMoveData:SetVelocity )