Skip to content

Physics.End

Name - Description Default Type
<input> Any
<output> Any
Context The physics context object that will manage the simulation none Var(Physics.Context)
TimeStep The amount of simulated time that will elapse during each call to this shard. 0.0166667 FloatVar(Float)
MaxIterations Maximum number of iterations to run the simulation. A higher number will result in a more accurate simulation, but will take more time to compute. 1 IntVar([Int])

This shard runs the physics simulation. It should be called after defining physics bodies to be included in the simulation.