Merge branch '4.1' into 4.2-beta

This commit is contained in:
Harald Csaszar 2023-11-28 13:44:19 +01:00
commit b9b9a836e0
2 changed files with 3 additions and 3 deletions

View File

@ -177,8 +177,8 @@ namespace Spine {
switch (bone.data.transformMode) {
case TransformMode.OnlyTranslation:
tx = targetX - bone.worldX;
ty = targetY - bone.worldY;
tx = (targetX - bone.worldX) * Math.Sign(bone.skeleton.ScaleX);
ty = (targetY - bone.worldY) * Math.Sign(bone.skeleton.ScaleY);
break;
case TransformMode.NoRotationOrReflection: {
float s = Math.Abs(pa * pd - pb * pc) / Math.Max(0.0001f, pa * pa + pc * pc);

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-csharp",
"displayName": "spine-csharp Runtime",
"description": "This plugin provides the spine-csharp core runtime.",
"version": "4.2.3",
"version": "4.2.4",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",