loodakrawa / SpriterDotNet

A pure C# Spriter implementation
zlib License
220 stars 75 forks source link

Attached Point and Box #69

Closed AndyGFX closed 8 years ago

AndyGFX commented 8 years ago

Today I tried first time used in my animation Point and Box and result is: Point is on wrong place, and Box has wrong size. I have used sprite where pixelPerUnits=16.

Looks like Collider2d and point transformation are wrong recalculated. 2016-10-08 2016-10-08 1

EDIT: Yes, when sprite has set PixelPerUnits = 100, then is position and box size correct. => import component doesn't look on sprite PerPixelUnits value :(

Best regards, AndyGFX

AndyGFX commented 8 years ago

Hi, new update works now correct with PPU. Thanks.