Box2D Forum Archive
Search Settings
Home › Box2D Ports › Flash

restore physics state

Flash
S sungoco
Sep 8, 2010 21:25
How to store my physics state?

I called applyImpluse(),but when the body move, I need set it to sleep.

when I wake up it, it's physics state lost.

How to store and restore??

SetActive can do it. but, It cannt contact.

Original thread: https://box2d.org/forum/viewtopic.php?t=5562

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About