Hitstop, shake, knockback and squash
Every one of these puts things back exactly afterwards: the object's velocity, the game's time scale, your camera, the object's scale.
Hitstop (Profile > Hitstop) #
| Setting | What it does |
|---|---|
| Mode | Target Only: just the hit object pauses (its Animators, Rigidbodies, Rigidbody 2Ds, particle systems, NavMesh Agent and your own scripts with IHitstopReceiver). Global: the whole game freezes for a moment. Off. |
| Duration | Real seconds for a normal hit (0.05 is about three frames). Each kind's strength scales it. |
| Max duration | The longest a single stop may last. A second hit while frozen extends the freeze up to this, never stacks past it. |
| Freeze attacker | Target Only: the attacker (the hit's Source, when it has Hit Feedback) freezes for the same moment. |
| Global time scale | Game speed during a global stop (0 is a full freeze). |
Global stops go through TimeControl: overlapping stops never stack (the slowest wins until it ends), your game's own time
scale comes back exactly, and if your game changes Time.timeScale itself (a pause menu) Responsive FX lets go at once and never
unpauses it. Your own scripts can pause too: add IHitstopReceiver to them.
Camera shake and punch (Profile > Camera shake and punch) #
Trauma based: each hit adds trauma, the shake is trauma squared (small hits stay subtle, big ones build up) and it fades smoothly.
| Setting | What it does |
|---|---|
| Trauma | How much a normal hit adds (0 to 1). |
| Max offset, Max angle, Frequency, Recovery | The feel of the shake. |
| Punch | A quick nudge in the hit's direction. |
| FOV kick | A quick zoom (on 2D orthographic cameras, the same as a size change). |
| Max distance | Hits farther from the camera shake less, down to nothing. |
| Use Cinemachine | Cinemachine 3 impulses instead (your camera needs a Cinemachine Impulse Listener). |
It never fights your camera controller. The shake is laid on after every script has moved the camera (and after
Cinemachine) and taken off before any script runs again, so your controller always sees its own position. It is added to
the camera tagged MainCamera on the first hit (HitCameraShake); add that component yourself to change its strength or
shake a camera rig instead. Another camera: set HitFeedbackSettings.Camera or the camera tag in Project Settings.
Knockback (Profile > Knockback) #
| Mover | What happens |
|---|---|
| Rigidbody | A push (velocity change, or an impulse when Ignore Mass is off). |
| Rigidbody 2D | A push along the hit, with an upward part. |
| Character Controller | A short glide using Move, so it respects collisions. |
| NavMesh Agent | A short glide using the agent's Move. |
| Nothing (transform) | A short glide of the transform, when Move Transform is on. |
Force, Upward, Duration (for glides), Ignore Mass, Move Transform. The direction comes from the hit's Direction, its Source, its Point, or else away from the camera.
Squash (Profile > Squash) #
Scale Punch, Squash And Stretch, or Wobble, by an amount and for a duration. It works on the Visual you set (a child, so the root's own scale and collider stay as they are) and always ends at the exact starting scale. If your animation also scales the object, Responsive FX squashes on top of it.