Version: 2023.2
언어: 한국어

PhysicsScene.RunSimulationStages

매뉴얼로 전환
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.