Click or drag to resize

WorldStep Method (Single, SolverIterations)

Take a time step. This performs collision detection, integration, and consraint solution. Warning: This method is locked during callbacks.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void Step(
	float dt,
	ref SolverIterations iterations
)

Parameters

dt
Type: SystemSingle
The amount of time to simulate in seconds, this should not vary.
iterations
Type: Internal.tainicom.Aether.Physics2D.DynamicsSolverIterations
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the world is Locked/Stepping.
See Also