Regular API function


Description Sets the number of simulation passes (calculation passes) per frame (display). This function will have an effect only if using a custom dt (which can be set in the simulation settings dialog). See also simGetSimulationPassesPerRenderingPass.
C synopsis simInt simSetSimulationPassesPerRenderingPass(simInt p)
C parameters
p: the number of simulation passes for one rendering pass
C return value
-1 in case of error, otherwise the new number of simulation passes per frame.
Lua synopsis
Lua parameters
Lua return values