ArcBasicDocs

UpdateWorld

Updates animation, collisions and physics.

UpdateWorld ( [anim_speed#] )

Parameters

anim_speed# (optional)
how far to move on, as a fraction of a normal step: 0.5 runs everything at half speed for slow motion, 2 at double speed. Defaults to 1.

Description

Moves the 3D world on by one step: animations play on, entities set up with Collisions slide or stop against what they hit, and physics bodies fall, roll and bounce. Call it once each frame, before RenderWorld. Each call moves physics on by the time set with PhysicsRate (a sixtieth of a second unless changed), times the speed below; a program that never calls it has no physics.

See also