According to the Box2D documentation I should be able to set angular and linear damping.
I have tried setting this attribute when declaring the object: angularDamping:0.3 and as a command: myObject.setAngularDamping(0.3)
Nothing seems to work. Ideas?
1 Answer
Unfortunately this function has not been binded in the module, you'll need to add it yourself.
https://github.com/appcelerator/titanium_modules/blob/master/box2d/mobile/ios/Classes/TiBox2dBodyProxy.mm
Your Answer
Think you can help? Login to answer this question!