ข้ามไปยังเนื้อหา

Use Cases

เนื้อหานี้ยังไม่มีในภาษาของคุณ

Starting points. Tune to your own animations. Settings not listed keep their defaults.

The original Vision Stabilizer behavior: small bob is absorbed, larger motion is followed.

Setting Value
Clamp Mode Manual, Clamp Radius 5 cm
Smoothing Mode None
Head Influence 1
Vertical Scale 1, or 0.3-0.5 to hold the horizon steadier

If the camera snaps when the head passes the radius (sprint stops, direction changes), switch Smoothing Mode to Recenter (Recenter Speed 3-5).

Details panel for the Classic head bob setup.

Tight when standing, looser when sprinting.

  1. Clamp Mode = Ground-Speed Range.
  2. Turn on Use Owner Velocity (or wire your own speed into Ground Speed).
  3. Max Speed = your character’s top speed (for example 600).
  4. Radius at Min Speed 3-5 cm, Radius at Max Speed 8-12 cm.

Use Ground-Speed Curve instead when the response should not be a straight line, for example a flat radius up to jogging speed that opens up only at sprint. Start from the bundled CF_VisionStabilizer_DefaultClamp and add keys.

Matching the range to your character:

  • Sprints at 600 cm/s: the default range 0-600 works as-is.
  • Sprints at 800 cm/s, same feel is fine: keep 0-600. Anything above 600 uses the top value.
  • Sprints at 800 cm/s and needs more room at top speed: set Max Speed to 800 and raise the top radius (Range), or add a key such as 800 -> 12 cm (Curve).

Ground-Speed Range setup with Use Owner Velocity on.

For climbing, swimming, crawling, heavy attacks or fast blend-space changes, where the camera should still end up at the head.

Setting Value
Head Influence 1
Smoothing Mode Spring
Smoothing Time 1.0-2.0 s
Damping Ratio 1
Clamp Radius (safety) 60-80 cm

The camera follows a smoothed long-term average of the head. Strokes, steps and pose transitions are filtered out, but the camera always settles back to the head, which keeps it close to where the animation expects it.

Details panel for the Smooth follow setup.

The camera ignores animation and sits at a fixed point relative to the character.

Setting Value
Anchor Bone None
Anchor Offset Average eye position for the pose (see below)
Head Influence 0 (or 0.1-0.2 for a little physical feel)
Smoothing Mode Spring, Smoothing Time 0.5 s
Clamp Radius (safety) 50 cm or more

Placing the anchor: turn on Enable Debug Draw, play a representative pose, and adjust Anchor Offset until the magenta point sits at eye level.

Use an Anchor Bone such as spine_05 instead when the camera should follow the torso’s posture but not the head. The offset is then in that bone’s space and tilts with it. A bone still moves with full-body animation, so this is less stable than no bone.

The body moves relative to the camera, so check extreme poses for the camera ending up inside the mesh.

Viewport with the magenta anchor point placed at eye level.

Every tuning value marked Optional in Node Settings can be exposed as a pin. Use it to change behavior by state, for example classic on the ground and Smooth follow while climbing or swimming:

  1. Expose the pins you need (for example Head Influence, Smoothing Time, Clamp Radius).
  2. Drive them with Select Float / Select Vector on a state boolean, or Blend with a 0-1 weight for gradual transitions.
  3. With Spring, sudden changes to the clamp center (Head Influence, Anchor Offset, Height Offset) are smoothed automatically; the camera eases into the new setup.
  4. With None or Recenter, interpolate the inputs yourself (for example FInterp To in the Event Graph) to avoid a camera jump on the switch.

Clamp Mode and Smoothing Mode are Details-panel choices. To change smoothing per state, keep Spring and vary Smoothing Time (short on the ground, long while climbing).

AnimGraph driving Head Influence and Smoothing Time pins from a state variable.

Expose Height Offset and lower it while crouched (for example -20 to -40 cm, blended), if your camera height should differ from what the head animation gives.

If your camera does not use Pawn Control Rotation (it takes rotation from the bone), set Rotation Follow to 0.2-0.5 for some head tilt and roll. 1 passes through the full head rotation, including animation shake.