B2.World:step

From GiderosMobile
Revision as of 10:21, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

Description


Take a time step. This performs collision detection, integration, and constraint solution.

 b2.World:step(timeStep,velocityIterations,positionIterations)

'timeStep: (number) the amount of time to simulate, this should not vary '
'velocityIterations: (number) for the velocity constraint solver '
'positionIterations: (number) for the position constraint solver '