Skip to main content
Support
Search our knowledge base

Determinism with 2D Physics

Comments

7 comments

  • sam mazer

    Hope this helps someone, it was a frustrating problem to solve for soft restarts.

    1
  • Oskari Leppäaho

    What if some GameObjects are already disabled during the simulation? Can't really do this step in that case:

    Reset the process. To do this, disable the GameObjects in reverse order, or use DestroyImmediate to destroy the GameObjects with the 2D physics components in reverse order.

    0
  • Ricardo Arango

    @Oskari: I would try disabling the rest of the GameObjects that have not been disabled in reverse order and then to replay the simulation, enable the GameObjects in the same order used in the Prepare step.

    If that doesn't work, you can try doing a reset by reloading the scene (hard reset).

    0
  • Muhammad alief Khaiqal

    I would try disabling the rest of the GameObjects that have not been disabled in reverse order and then to replay the simulation, enable the GameObjects in the same order used in the Prepare step.

    0
  • sahil faizel

    it  is to much stuff to read and it does not work

    0
  • Everrett Dechaine

    good work

    0
  • Munna Das Munna Das

    DAS GRT

    0

Please sign in to leave a comment.