Ticket #11 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

bodies randomly disappear in the asteroids example

Reported by: ChristianK Assigned to: ChristianK
Priority: major Milestone: 0.2
Component: examples Version: svn
Keywords: Cc:

Description

Seems to happen particularly often to the invisible boundaries that keep the asteroids in the playing field.

Change History

04/29/07 10:22:52 changed by ChristianK

  • status changed from new to closed.
  • resolution set to fixed.

When the main loop went too quickly and arc.time.getElapsedMilliseconds returned 0 the collision handling broke. Fixed by making sure that msDt > 1 in arc.physics.world.advance.