Garry's Mod Wiki

GM:UpdateAnimation

  GM:UpdateAnimation( Player ply, Vector velocity, number maxSeqGroundSpeed )

Description

Animation updates (pose params etc) should be done here.

Arguments

1 Player ply
The player to update the animation info for.
2 Vector velocity
The player's velocity.
3 number maxSeqGroundSpeed
Speed of the animation - used for playback rate scaling.