ECS.HybridTextMesh icon indicating copy to clipboard operation
ECS.HybridTextMesh copied to clipboard

RectTransform pivot compensation only works at identity rotation

Open 5argon opened this issue 5 years ago • 0 comments

In the authoring component, you can position the pivot anywhere without affecting text in the box but only if the rotation is 0,0,0 because the math is very simple. In other rotation it move the text to wrong places. Probably need more ECS transform components like RotationPivot to help (https://docs.unity3d.com/Packages/[email protected]/manual/transform_system.html)

On other rotation, please set pivot to 0,1 for the time being because that requires no compensation.

5argon avatar Feb 18 '20 01:02 5argon