Version: 2023.2
言語: 日本語
public void RunSimulationStages (float step, SimulationStage stages, SimulationOption options= SimulationOption.All);

パラメーター

step The time to advance physics by.
stages An enum to specify which stages to run.
options A flag enum to specify any additional simulation options.

説明

Runs specified physics simulation stages on this physics scene.

Stages are processed in this order: PrepareSimulation RunSimulation PublishSimulationResults step argument can be any number if RunSimulation stage is not specified.

Additional resources: PhysicsScene.Simulate, Physics.Simulate.