body flip

This function flips a single or multi-element physics body and returns the flipped shape declaration for usage within the "physics.addBody()" API. Currently, this version only supports horizontal flipping (reflection across a theoretical center vertical axis).

Comments, 478 Votes - submitted on 12/02/2014 view repo