Skip to content

Physics.End

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any Any
Output ➡️ The resulting output of the shard Any
Context No The physics context object that will manage the simulation none Var(Physics.Context)
TimeStep No The amount of simulated time that will elapse during each call to this shard. 0.0166667 FloatVar(Float)
MaxIterations No 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.