PhysicsConnector and BaseWidth

  ... in the unlikely case you discovered a bug, post it here.

PhysicsConnector and BaseWidth

Postby ade.se » Tue Aug 30, 2011 8:52 pm

Hi.

Not sure if this is intended, but after modifying the size of a Sprite, e.g. sprite.setSize(w,h), and attempting to use it with Box2D, the PhysicsConnector will use the BaseWidth and BaseHeight to calculate the center of the sprite, which yields a misaligned positioning of the sprite and physics object.
ade.se
 
Posts: 10
Joined: Thu Jun 16, 2011 7:16 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests