A way to turn off gravity for individual bodies would be extremely useful for me and (judging by the forums) a lot of other people too.
During the development of my game I’ve encountered a number of issues where I have to fight with kinematic and dynamic and static objects to keep things moving correctly, all of which would have been completely avoided by having a “respondsToGravity=false” flag.
I know it’s not too difficult to implement in box2d; I found some source code in a quick google search where a guy added exactly that feature to his box2d application by adding something like three lines of code inside one file, to prevent the application of the gravity force to the object.
So, please do it!
[import]uid: 53578 topic_id: 9028 reply_id: 309028[/import]