Struct Solver.StabilizationHeuristicSettings
Settings for controlling the solver stabilization heuristic.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct Solver.StabilizationHeuristicSettings
Fields
Name | Description |
---|---|
Default | The defualt stabilization options. |
InertiaScalingFactor | Controls the intensity of inertia scaling. Defaults to 1.0f, while other values will scale the intensity up/down. Shouldn't go higher than 5.0f, as it will result in bad behavior (too high inertia of bodies). Set it to 0.0f to disable the feature. |
VelocityClippingFactor | Controls the intensity of the velocity clipping. Defaults to 1.0f, while other values will scale the intensity up/down. Shouldn't go higher than 5.0f, as it will result in bad behavior (too aggressive velocity clipping). Set it to 0.0f to disable the feature. |
Properties
Name | Description |
---|---|
EnableFrictionVelocities | Switch to enable/disable heuristic when calculating friction velocities. Should be disabled only if it is causing behavior issues. |
EnableSolverStabilization | Global switch to enable/disable the whole heuristic (false by default) |