Friday, March 6, 2009

pybox2d svn r184

Bugfix: Linux/x64 build issue.
Updated to Box2D r204:
b2Body now has these additional functions:
  • SetLinear/AngularDamping (additionally accessible by body.linearDamping = (x,y) )
  • SetStatic
  • SetFixedRotation (additionally accessible by body.fixedRotation = True)
b2Shape:
  • SetSensor
A few functions' names changed since some of the 2.0.2b1 accessor code was my own, but chances are you were using the properties anyway:

IsRotationFixed -> IsFixedRotation (property fixedRotation)
CanSleep -> IsAllowSleeping (property allowSleep)

No comments:

Post a Comment