Page 1 of 1

isAwake color

Posted: Tue Mar 05, 2013 4:44 pm
by dAlex65
Maybe possible set to color of static and kinematic bodies too (same as the dynamic bodies) to darken in player view window, when his isAwake = false ?

Re: isAwake color

Posted: Wed Mar 06, 2013 12:21 am
by iforce2d
Sure, this would be fairly easy to do. Just wondering, why you are interested in checking the awake status of static and kinematic bodies?

Re: isAwake color

Posted: Wed Mar 06, 2013 2:15 am
by dAlex65
Sure, this would be fairly easy to do.
Thank You, it's great !

And because I think the Box2D performance improved, if the static bodies sleeping function working properly.
I like compare RUBE player results with my Delphi code results, when enable-disable bodies in runtime.
( I display this status in my program, and all static bodies always active for now :shock: )