Struct SimulationStepInput
Parameters for a simulation step.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct SimulationStepInput
Fields
Gravity
Gravity in the physics world.
Declaration
public float3 Gravity
Field Value
Type | Description |
---|---|
float3 |
HaveStaticBodiesChanged
Used for optimization of static body synchronization.
Declaration
public NativeReference<int>.ReadOnly HaveStaticBodiesChanged
Field Value
Type | Description |
---|---|
NativeReference.ReadOnly<> |
NumSolverIterations
Number of iterations to perform while solving constraints.
Declaration
public int NumSolverIterations
Field Value
Type | Description |
---|---|
Int32 |
SolverStabilizationHeuristicSettings
Settings for solver stabilization heuristic in Unity.Physics.
Declaration
public Solver.StabilizationHeuristicSettings SolverStabilizationHeuristicSettings
Field Value
Type | Description |
---|---|
Solver.StabilizationHeuristicSettings |
SynchronizeCollisionWorld
Whether to update the collision world after the step for more precise queries.
Declaration
public bool SynchronizeCollisionWorld
Field Value
Type | Description |
---|---|
Boolean |
TimeStep
Portion of time to step the physics world for.
Declaration
public float TimeStep
Field Value
Type | Description |
---|---|
Single |
World
Physics world to be stepped.
Declaration
public PhysicsWorld World
Field Value
Type | Description |
---|---|
PhysicsWorld |