Struct Solver.DirectSolverSettings
Settings for the direct solver, an advanced solver for accurate physics simulation, enabling complex and realistic joint and contact behavior.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
[Serializable]
public struct Solver.DirectSolverSettings
Fields
Default
The default direct solver settings.
Declaration
public static readonly Solver.DirectSolverSettings Default
Field Value
| Type | Description |
|---|---|
| Solver.DirectSolverSettings |
Properties
ContactDamping
The damping a contact will have when simulated with the direct solver.
Declaration
public float ContactDamping { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
ContactSlip
The slip a contact will experience in the friction plane when simulated with the direct solver.
Declaration
public float ContactSlip { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
ContactStiffness
The stiffness a contact will have when simulated with the direct solver.
Declaration
public float ContactStiffness { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MaximumJointDamping
The maximum damping a joint can have when simulated with the direct solver.
Declaration
public float MaximumJointDamping { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MaximumJointStiffness
The maximum stiffness a joint can have when simulated with the direct solver.
Declaration
public float MaximumJointStiffness { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MinimumMotorSlip
The minimum slip a motor joint will experience when simulated with the direct solver.
Declaration
public float MinimumMotorSlip { get; set; }
Property Value
| Type | Description |
|---|---|
| float |