Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Endless Collision callbacks — Gideros Forum

Endless Collision callbacks

kussakovkussakov Member
edited May 2012 in Game & application design
Do you know why when I create a body with allowSleep=false or if I create the b2.World with doSleep=false when a body hist the ground I receive endless pre solve and post solve callbacks?

Since there is no "AwakeBody"(e.g. setAwake) API in Gideros I really need the sleep = false all the time for what I am trying to do.
Should I not ever use sleep = false if I want to use collision callbacks?

BTW: I was printing something on the console on each callback and in about 30 sec it would fill the buffer or something and the entire Gideros environment freezes until I kill the player app.

Any suggestions?

Thanks

Dislikes: zer0flag

+1 -1 (+0 / -1 )Share on Facebook

Comments

Sign In or Register to comment.