Hi all,
I just noticed a bug, if I set gravityScale for an object before add it into physics engine, the engine will ignore the value *EVEN* gravityScale for the object is set again *AFTER* the addBody function call. Had anyone noticed that ?
The code is like this:
obj.gravityScale = 0
phyics.addBody( obj, … )
– the object responses to gravity
obj.gravityScale = 0
– the object still response to gravity