Type Function Library physics.* Return value none Revision Release 2024.3703 Keywords physics, velocity, accuracy, calculations See also physics.start() physics.setPositionIterations()
Sets the accuracy of the engine’s velocity calculations. The default value is 8
.
physics.setVelocityIterations( value )
Number. The number of iterations. The default value is 8
, which means that the engine will iterate through eight velocity approximations per frame for each object. Increasing this number will cause fewer momentary inaccuracies like overlapping objects, but it will increase computational overhead. The default value should work for most general cases.
physics.setVelocityIterations( 16 )