CMCharacter Modules 0.1.0

Step Smoothing

Kind: Module · Add Component: Character Modules > Step Smoothing

Smooths the camera over steps. Stairs look like a ramp instead of a jolt per step.

Smooths the camera and the body over steps, so climbing stairs looks like a ramp instead of a jolt per step. It changes only what is seen, never the movement.

Inspector
▼Step Smoothing⋮
CharacterCharacter (Character Motor)
Duration0.12
Max Offset1
The Step Smoothing component in the Inspector, with its defaults.
Origin. Quake III Arena (1999) smoothed the view over steps.

How it works

Step Smoothing: the simulation climbs or drops a stair step in one step, which on screen looks like a jolt or a fall. This spreads the change in height over a short time for everything drawn: the body (Facing Visual) and the camera rigs. The simulated position stays exact. Classic arena shooters smooth step-ups of the view the same way (200 ms); most modern controllers smooth both directions.

Combine it

  • Used by the presets: Arena Shooter, Competitive Shooter, Surf, Retro Platformer, Modern Platformer, Traversal Adventure, Action RPG.

Properties

PropertyDescriptionRangeDefault
CharacterThe character this module belongs to. Drag its Character Motor here.None
DurationSeconds over which a step up or down is spread out on screen. The simulation still steps at once.0.01 or more0.12
Max OffsetLargest height difference that is smoothed, metres. Bigger changes (teleports) show at once.0 or more1

Additional resources