Last updated
Last updated
To bob is to make a quick, short movement up and down.
This motion effect recreates the position changes in the walking animations that a lot of first-person games have for their camera and guns.
Every frame a sin()
function is used to calculate what the position of the object should be, the result is combined with the player’s movement and the that the developer sets to produce the final effect.
To change the effect that this component produces, you can change the wave
value, this field contains the used to change the effect.
The for the player’s current state has a multiplier for this effect.