VelcroPhysics icon indicating copy to clipboard operation
VelcroPhysics copied to clipboard

Refactor body rotation and position

Open Genbox opened this issue 8 years ago • 0 comments

When updating rotation or position of a body, we copy over more data than needed, as well as finding contacts multiple times. Using these properties are therefore slow compared to Get/SetTransform().

Refactoring this code into will yield a performance increase as well.

Genbox avatar Apr 12 '17 17:04 Genbox