cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Cocos ignore pivot of plists when importing

Open RobotoSkunk opened this issue 3 years ago • 0 comments

Cocos Creator version

3.6.0

System information

Windows 10 Profesional 21H1 19043.1826

Issue description

When a new .plist is generated in Texture Packer 6.0.2, it comes with definitions for the pivots of the sprites, however, when importing the .plist in Cocos Creator, the pivots are reset or ignored to the center.

unknown (5) unknown (6)

Relevant error log output

No output is generated

Steps to reproduce

Generate a new texture atlas with Texture Packer with some pivots different from {0.5, 0.5}, then import it to Cocos Creator and it will ignore the pivot.

Minimal reproduction project

Tests.zip

RobotoSkunk avatar Aug 06 '22 16:08 RobotoSkunk