Class PhysicsStepAuthoring
Parameters describing how to step the physics simulation.
If this component is not present, default values will be used.Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: solution.dll
Syntax
[AddComponentMenu("Entities/Physics/Physics Step")]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@latest/index.html?subfolder=/api/Unity.Physics.Authoring.PhysicsStepAuthoring.html")]
public sealed class PhysicsStepAuthoring : MonoBehaviour
Properties
Name | Description |
---|---|
Enable |
Enables the contact solver stabilization heuristic. |
Gravity | Specifies the amount of gravity present in the physics simulation. |
Multi |
Enables multi-threaded processing. Enabling this option will maximize the use of parallelization in the entire simulation pipeline while disabling it will result in minimal thread usage. |
Simulation |
Specifies the type of physics engine to be used. |
Solver |
Specifies the number of solver iterations the physics engine will perform. Higher values mean more stability, but also worse performance. |
Synchronize |
Specifies whether to update the collision world an additional time after the step for more precise collider queries. |