Bob

To bob is to make a quick, short movement up and down.

Description

This motion effect recreates the position changes in the walking animations that a lot of first-person games have for their camera and guns.

How does it work?

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 Wave Data that the developer sets to produce the final effect.

Tweaking the effect

To change the effect that this component produces, you can change the wave value, this field contains the Wave Data used to change the effect.

The State Data for the player’s current state has a multiplier for this effect.

Last updated

Was this helpful?