Spring stiffness driving the scale back to normal. Higher = snappier. Default 220.
Spring damping. Higher = less overshoot/oscillation. Default 14.
The object this behavior is attached to. Set automatically.
ReadonlyuuidStatic Optional ReadonlyinspectorCalled when the behavior is attached to an object.
Called when the behavior is detached from an object.
Triggers a squash-and-stretch impulse.
Squash amount along Y (0 = none, 1 = fully flattened). The object stretches outward on X/Z by roughly half of that to read as volume-preserving. Default 0.35.
Called every frame to update the behavior logic.
The time elapsed since the last frame in seconds.
Applies a brief, volume-preserving-ish squash-and-stretch impulse to an object's scale, driven by a damped spring so it overshoots and settles back to the base scale — the classic "game feel" cue for landings, launches, and impacts.