Physics Parameters
Parameters that control the basic behavior of physics simulation.
This is the complete reference for physics parameters. For how to tune the sway, see Adjusting the Sway; to learn the concepts first, see Basic Concepts; for other task-oriented usage, see Bone Chain Setup / Curve Editor / Bone Subdivision.
FKawaiiPhysicsSettings
A struct that defines the basic physics control settings. It is assigned to the node via the PhysicsSettings property. Damping (how easily it sways) and Stiffness (how strongly it returns) are the core of the physics behavior — the balance between the two determines the overall "softness." Each member can be modulated by bone-length ratio using the curves described later.
USTRUCT(BlueprintType)
struct KAWAIIPHYSICS_API FKawaiiPhysicsSettings
{
float Damping = 0.1f; // Damping
float Stiffness = 0.05f; // Stiffness
float WorldDampingLocation = 0.8f; // Suppression of movement reflection
float WorldDampingRotation = 0.8f; // Suppression of rotation reflection
float Radius = 3.0f; // Collision radius
float LimitAngle = 0.0f; // Rotation limit angle
};
Damping
Damping Coefficient - Controls the intensity of swaying. Smaller values reflect more acceleration in the physics behavior, so it sways more. Larger values make the motion duller and heavier.
| Property | Value |
|---|---|
| Type | float |
| Default | 0.1 |
| Range | 0.0 or higher |
| Category | KawaiiPhysics |
Stiffness
Stiffness - Higher values maintain the original shape (the animated pose) more strongly and return to it quickly. Lower values let it sway more freely.
| Property | Value |
|---|---|
| Type | float |
| Default | 0.05 |
| Range | 0.0 or higher |
| Category | KawaiiPhysics |
WorldDampingLocation
Suppression of component movement reflection - Controls how much of the Skeletal Mesh Component's world-space movement is reflected into the sway.
0= movement fully reflected (maximum sway)1= follows the component exactly (not reflected into sway)- Actual reflection factor =
1 - WorldDampingLocation
| Property | Value |
|---|---|
| Type | float |
| Default | 0.8 |
| Range | 0.0 or higher |
| Category | KawaiiPhysics |
WorldDampingRotation
Suppression of component rotation reflection - The rotation counterpart of the above. Controls the Skeletal Mesh Component's world-space rotation in the same way (actual reflection factor = 1 - WorldDampingRotation).
| Property | Value |
|---|---|
| Type | float |
| Default | 0.8 |
| Range | 0.0 or higher |
| Category | KawaiiPhysics |
Because they are named "Damping (suppression)," WorldDampingLocation / WorldDampingRotation are counter-intuitive: higher values mean less sway (1 follows the component exactly = no sway). Set them lower when you want the hair/cloth to trail behind character movement and rotation.
Radius
Collision radius for each bone - The radius of the collision sphere each bone carries. Used in the push-out calculation against colliders (SphericalLimit, etc.). Its editor display name is Collision Radius.
| Property | Value |
|---|---|
| Type | float |
| Default | 3.0 |
| Range | 0.0 or higher |
| Display Name | Collision Radius |
| Category | KawaiiPhysics |
LimitAngle
Rotation limit angle - The maximum angular difference (in degrees) between the parent-to-child direction in the input animation and that same direction during simulation. Higher positive values allow a wider angle; 0 disables the limit. Setting it appropriately can suppress erratic, jittery behavior.
| Property | Value |
|---|---|
| Type | float |
| Default | 0.0 (unlimited) |
| Range | 0.0 or higher |
| Category | KawaiiPhysics |
Simulation Settings
SimulationSpace
Simulation Space - Specifies the coordinate system for physics control.
| Property | Value |
|---|---|
| Type | EKawaiiPhysicsSimulationSpace |
| Default | ComponentSpace |
| Value | Description |
|---|---|
| ComponentSpace | Simulate in component space |
| WorldSpace | Simulate in world space. Can avoid influence from sudden Root bone movement/rotation |
| BaseBoneSpace | Simulate in specified bone space |
Using anything other than ComponentSpace causes minor performance degradation, but can avoid influence from sudden Root bone movement/rotation.
SimulationBaseBone
Simulation Base Bone - The bone used as the reference in the BaseBone coordinate system.
| Property | Value |
|---|---|
| Type | FBoneReference |
| Category | Physics Settings |
Only enabled when SimulationSpace is BaseBoneSpace.
TargetFramerate
Target Framerate - Target framerate for the physics simulation.
| Property | Value |
|---|---|
| Type | int32 |
| Default | 60 |
| Category | Physics Settings |
TimeScale
Added in v1.22.0
Physics time multiplier - Slows down or speeds up only this node's physics, separately from world or actor time. 0.5 runs at half speed and 2 at double speed.
| Property | Value |
|---|---|
| Type | float |
| Default | 1.0 |
| Range | 0.01 - 10 (slider 0.01 - 2) |
| Pin | Hidden by default (can be shown from Details) |
| Blueprint | BlueprintReadWrite |
| Category | Physics Settings |
When to use it
When only the animation is slowed down (a slow-motion version of the animation, or a sequence's RateScale), KawaiiPhysics still sways in real time, so only the sway looks fast. Set TimeScale to the animation's speed and the sway runs at the same speed.
You can also match them with the actor's CustomTimeDilation, but it slows down the AnimBP playback as well, so an animation you have already slowed down becomes even slower.
| Method (run animation playing at 0.25x) | Animation speed | Sway speed |
|---|---|---|
| Nothing | 0.25x | 1x (only the sway is fast) |
Set the actor's CustomTimeDilation to 0.25 | 0.0625x (slower still) | 0.25x |
Set the node's TimeScale to 0.25 | 0.25x | 0.25x |
What it affects
TimeScale is applied once to the frame's dt, so everything that uses dt advances at the same speed.
- Substep time accumulation, gravity and integration
- External forces (External Force Presets and ProceduralWind, including gusts with
bRealTimeEnvelope) - Transient external force lifetimes, gust
Duration, and temporary physics settings multipliers (transient effects API)
The exception is the shared ProceduralWind distributed by a Shared Publisher. Its phase advances with the world's game time so that it stays aligned with the Publisher.
World and actor time, animation playback speed, and the time of other systems such as Cloth or RBAN do not change.
FKawaiiPhysics_ExternalForce_Curve and ProceduralWind also have a TimeScale field. Those only change how that force's curve or wind advances. The node's TimeScale applies to the time of the node's whole physics, including those forces.
Why it cannot be 0
The lower limit is 0.01; 0 (stopped) is not allowed. Out-of-range values from a pin or Blueprint are also clamped to 0.01-10, and NaN or infinity is treated as 1.
Stopping the physics time does not stop the animation pose or the component. While stopped, the swaying parts would not follow the head or body, and the moment the physics resumed, all the motion from the stopped period would turn into sway at once.
To remove the physics effect, use Alpha. Note that Alpha 0 removes the sway and returns to the animation pose; it does not freeze the current swayed shape.
Fixed substepping
With Fixed Substepping enabled (the default), changing TimeScale gives the same motion played back slower (or faster). In legacy mode, with it disabled, there is still one step per frame and only dt changes, so the result is not the same.
A TimeScale above 1 increases the steps needed per frame. Time beyond MaxSubsteps steps per frame is dropped, and the physics runs slower than requested. Development builds log a warning once per node in that case. For double speed or more, raise MaxSubsteps or lower TimeScale.
How to change it
Connect the pin to an AnimBP variable, or write it through the node property API (SetNodeFloatProperty and so on). See Runtime Control for switching it with gameplay or cinematics.
TimeScale is runtime state rather than a sway tuning value, so it is excluded from preset copy, apply and diff.
TeleportDistanceThreshold
Teleport Distance Threshold - If the SkeletalMeshComponent movement per frame exceeds this value, that movement won't be reflected in physics control.
| Property | Value |
|---|---|
| Type | float |
| Default | 300.0 |
TeleportRotationThreshold
Teleport Rotation Threshold - If the SkeletalMeshComponent rotation per frame exceeds this value, that rotation won't be reflected in physics control.
| Property | Value |
|---|---|
| Type | float |
| Default | 10.0 |
Both thresholds are compared with the component's movement and rotation since the previous frame. Even when some frames run no physics step (a small TimeScale, or a frame rate above TargetFramerate), the movement accumulated over those frames is not used for the check.
With fixed substepping in v1.21, the accumulated movement was compared, so an ordinary turn could be treated as a teleport.
PlanarConstraint
Planar Constraint - Fixes each bone on the plane that passes through the parent bone and is perpendicular to the parent bone's specified axis. The axis direction comes from the parent bone's rotation in the input pose.
| Property | Value |
|---|---|
| Type | EPlanarConstraint |
| Default | None |
| Value | Description |
|---|---|
| None | No planar constraint |
| X | Fix on the plane perpendicular to the parent bone's X axis |
| Y | Fix on the plane perpendicular to the parent bone's Y axis |
| Z | Fix on the plane perpendicular to the parent bone's Z axis |
SkelCompMoveScale
Component Move Scale - Scale applied when reflecting SkeletalMeshComponent movement in physics behavior.
| Property | Value |
|---|---|
| Type | FVector |
| Default | (1, 1, 1) |
Bone Settings
RootBone
Control Root Bone - The specified bone and all bones below it become control targets.
| Property | Value |
|---|---|
| Type | FBoneReference |
| Category | Bones |
ExcludeBones
Exclude Bones - Removes the specified bones and all bones below them from control targets.
| Property | Value |
|---|---|
| Type | TArray<FBoneReference> |
| Category | Bones |
AdditionalRootBones
Additional Root Bones - Adds the specified bones and all bones below them to the control targets (for adding multiple roots).
| Property | Value |
|---|---|
| Type | TArray<FKawaiiPhysicsRootBoneSetting> |
| Category | Bones |
Each element has the following properties:
RootBone: Root bone to controlOverrideExcludeBones: Exclude bone list dedicated to this root bonebUseOverrideExcludeBones: Enables the exclude bone override
DummyBoneLength
Dummy Bone Length - If greater than 0, adds a dummy bone at the end of control bones. Adding dummy bones improves physics control of terminal bones.
| Property | Value |
|---|---|
| Type | float |
| Default | 0.0 |
| Range | 0.0 or higher |
BoneForwardAxis
Bone Forward Direction - Forward direction of bones. Affects physics control and dummy bone placement position.
| Property | Value |
|---|---|
| Type | EBoneForwardAxis |
| Default | X_Positive |
| Value | Description |
|---|---|
| X_Positive | +X direction |
| X_Negative | -X direction |
| Y_Positive | +Y direction |
| Y_Negative | -Y direction |
| Z_Positive | +Z direction |
| Z_Negative | -Z direction |
Bone Subdivision
Inserts virtual dummies between real bones inside the simulation (without modifying the real skeleton) to raise collision resolution. See Bone Subdivision for details.
BoneSubdivisionCount
Dummy Subdivision Count - Minimum number of dummy bones to insert between adjacent bones. Improves collision detection (e.g. prevents skirts from penetrating legs). 0 to disable.
| Property | Value |
|---|---|
| Type | int32 |
| Default | 0 |
| Range | 0 - 10 |
| Category | Bones|Bone Subdivision |
bBoneSubdivisionCollisionOnly
Collision Only - Skips velocity integration (gravity/wind/etc.) for inter-bone dummies and lets them participate only in collision/constraints from interpolated positions (lightweight). Does not affect the dummy count.
| Property | Value |
|---|---|
| Type | bool |
| Default | true |
| Edit Condition | BoneSubdivisionCount > 0 |
| Category | Bones|Bone Subdivision |
v1.22 fixes a bug where collision-only subdivision (BoneSubdivisionCount > 0 with bBoneSubdivisionCollisionOnly enabled) changed how a chain swayed even when it touched nothing. Stiffness now takes effect as set. Assets that used subdivision in v1.21.0 sway differently. bBoneSubdivisionCollisionOnly is enabled by default.
bBoneSubdivisionDensifyByRadius
Densify By Radius - Adds dummies based on radius so collision spheres roughly cover the gap between bones. Uses BoneSubdivisionCount as a minimum and places more where bones are far apart (up to 50 per segment).
| Property | Value |
|---|---|
| Type | bool |
| Default | false |
| Edit Condition | BoneSubdivisionCount > 0 |
| Category | Bones|Bone Subdivision |
BoneConstraintSubdivisionCount
Horizontal Subdivision Count - Number of collision-proxy dummies (bridge dummies) inserted along each horizontal BoneConstraint. Fills gaps between adjacent chains (columns) to prevent penetration. 0 to disable. Independent of BoneSubdivisionCount.
| Property | Value |
|---|---|
| Type | int32 |
| Default | 0 |
| Range | 0 - 10 |
| Category | Bones|Bone Subdivision |
BoneConstraintSubdivisionFeedbackScale
Feedback Scale - Strength of transferring a bridge dummy's collision displacement to its endpoint bones (0 = none, 1 = standard). Lower it if the result is too stiff.
| Property | Value |
|---|---|
| Type | float |
| Default | 1.0 |
| Range | 0.0 - 2.0 |
| Edit Condition | BoneConstraintSubdivisionCount > 0 |
| Category | Bones|Bone Subdivision |
Warm-up Settings
WarmUpFrames
Warm-up Frame Count - Number of physics idle runs. Used when you want to start/display after physics processing settles.
| Property | Value |
|---|---|
| Type | int32 |
| Default | 0 |
| Range | 0 or higher |
bNeedWarmUp
Enable Warm-up - Flag to run warm-up on the next evaluation. Warm-up runs when WarmUpFrames is 1 or more, and the flag returns to false afterwards. Warm-up on ResetDynamics is decided by bUseWarmUpWhenResetDynamics, not by this flag.
| Property | Value |
|---|---|
| Type | bool |
| Default | false |
bUseWarmUpWhenResetDynamics
Warm-up on Reset - Flag to run physics idle during ResetDynamics. It runs when WarmUpFrames is 1 or more, even if bNeedWarmUp is false.
| Property | Value |
|---|---|
| Type | bool |
| Default | true |
Curve Control
The following parameters can be controlled by curves. The curve is evaluated at the bone-length ratio (length from RootBone to the bone / length of the longest path under RootBone, including dummy bones, 0.0–1.0), and its value is multiplied by the parameter's base value. Endpoints on shorter branches are below 1. The curve's Y value is a multiplier, not the parameter's actual value (for example, base value 0.05 × curve value 0.5 = applied value 0.025).
| Curve | Description |
|---|---|
| DampingCurveData | Adjusts Damping parameter |
| StiffnessCurveData | Adjusts Stiffness parameter |
| WorldDampingLocationCurveData | Adjusts WorldDampingLocation parameter |
| WorldDampingRotationCurveData | Adjusts WorldDampingRotation parameter |
| RadiusCurveData | Adjusts Radius parameter |
| LimitAngleCurveData | Adjusts LimitAngle parameter |
Using curves allows settings like making the root stiff and the tip soft.
Advanced Settings
bUpdatePhysicsSettingsInGame
Update Parameters During Game - Flag to update physics parameters for each bone every frame. Disabling slightly improves performance, but makes it impossible to change physics parameters during runtime.
| Property | Value |
|---|---|
| Type | bool |
| Default | true |
ResetBoneTransformWhenBoneNotFound
Reset When Bone Not Found - Flag to reset Transform when control target bone is not found. Generally recommended to keep disabled.
| Property | Value |
|---|---|
| Type | bool |
| Default | false |