674 Commits

Author SHA1 Message Date
Harald Csaszar
3e8c9dfa66 [unity] Fixed SkeletonRootMotion ignoring parent bone scale set via transform constraints. Closes #2580. 2024-07-16 18:14:17 +02:00
Harald Csaszar
cc55a2eeba [unity] Minor: RootMotion: commented failed experiments with setting velocity instead of MovePosition. 2024-07-12 17:54:12 +02:00
Harald Csaszar
d2953d6053 [unity] Automatically updating SkeletonRootMotion references after SkeletonDataAsset change. Exposed rootMotionBoneName. Closes #2575. 2024-07-10 17:36:04 +02:00
Harald Csaszar
2f44b90878 [unity] OnDemandTextureLoader: Added TextureLoadFailed callback, used by Addressables extension package. 2024-07-05 12:58:37 +02:00
Harald Csaszar
e076a1c7d9 [unity] Added missing attribute drawer changes of last commits for ui-toolkit package (on spine-unity side). 2024-07-05 12:56:17 +02:00
Harald Csaszar
24070b4768 [unity] Minor whitespace formatting fixes. 2024-06-24 17:54:02 +02:00
Harald Csaszar
469735e96a [unity] Fixed costly Vector3 *= operator on 2019.4- in MeshGenerator.ScaleVertexData. Closes #2558. 2024-06-20 18:48:34 +02:00
Harald Csaszar
962cdf844e [unity] Fixed incorrect too dark (transparent) display of additive slots when in Linear color space. Closes #2552. 2024-06-17 20:50:24 +02:00
Harald Csaszar
ff07a01aef [unity] SkeletonGraphic allows custom mesh offset relative to the pivot to keep e.g. the face centered when layout scale downscales the mesh towards the pivot. Closes #2482. 2024-06-12 17:53:05 +02:00
Harald Csaszar
7d57e7d343 [csharp] Port of earlier clipping cleanup commit 485de74: SkeletonClipping.ClipTriangles clean up. 2024-06-10 18:44:59 +02:00
Harald Csaszar
e622c6b5dd [unity] Improved error message when SkeletonDataAsset has 0 atlas and HiddenPass shader not included. Closes #2544. Also fixed quiet param unused at GetSkeletonData call. 2024-06-06 18:12:19 +02:00
Harald Csaszar
1237174712 [unity] Added support for BlendModeMaterials to runtime instantiation from files. Closes #2542. 2024-06-05 21:41:57 +02:00
Harald Csaszar
96797adeb5 [unity] Fixed physics inheritance ignoring transform rotation. Closes #2538. 2024-05-31 18:09:59 +02:00
Harald Csaszar
68688a7c94 [unity] All Outline shaders provide Width in Screen Space parameter for constant screen-space outline width at differently scaled attachments. Closes #1615. 2024-05-23 15:36:53 +02:00
Harald Csaszar
330e646c08 [unity] Fixed SkeletonRenderSeparator mesh being broken with slot alpha 0. Closes #2532. 2024-05-21 21:38:29 +02:00
Harald Csaszar
77e859cb31 [unity] Improved UpdateWhenInvisible logic for SkeletonRenderSeparator. Closes #2519. 2024-05-06 20:46:14 +02:00
Harald Csaszar
9904398400 Merge branch '4.1' into 4.2 2024-05-06 19:44:37 +02:00
Harald Csaszar
24074454d1 [unity] Fixed UpdateWhenInvisible being incorrect when using SkeletonRenderSeparator. See #2519. 2024-05-06 19:40:19 +02:00
Harald Csaszar
c6a01d7a5f [csharp][unity] Skeleton.getBounds() applies clipping, see #2515. Port of commits b043e5c, 637321a and 2049bed. 2024-05-02 20:22:50 +02:00
Harald Csaszar
49350d1174 Merge branch '4.1' into 4.2-beta 2024-04-11 18:46:29 +02:00
Harald Csaszar
1274c9ca84 [unity] Fixed exception when SkeletonRenderSeparator causes null material with mask materials. Closes #2499. 2024-04-11 18:44:51 +02:00
Harald Csaszar
a62ce5dc0e [unity] Fixed SpineSkin Attribute ignoring includeNone=true. Changes existing Inspector GUI behaviour. Closes #2494. 2024-04-02 19:00:04 +02:00
Harald Csaszar
e630d1bda7 [csharp] Port of commit f4f22cd. Added bone transform inheritance timeline. Renamed TransformMode to Inherit. 2024-03-27 17:28:29 +01:00
Harald Csaszar
94d8a3a387 [unity] SkeletonGraphic: avoid unnecessary redundant mesh update at color change (necessary after commit c36f847). See #2049. 2024-03-19 17:46:28 +01:00
Mario Zechner
f1052e2906 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/example/pubspec.lock
#	spine-flutter/pubspec.yaml
#	spine-unity/Assets/Spine/package.json
2024-03-19 16:28:30 +01:00
Harald Csaszar
c36f847319 [unity] SkeletonGraphic: re-joined Rebuild and MeshUpdate to fix IndexOutOfRangeException. Closes #2487. 2024-03-19 16:14:22 +01:00
Harald Csaszar
86a320afc2 Merge branch '4.1' into 4.2-beta 2024-03-18 17:22:28 +01:00
Harald Csaszar
3167747d73 [unity] Fixed SkeletonGraphic Invalid AABB when instantiating in editor with no active attachments via drag and drop. Closes #2486. 2024-03-18 17:16:40 +01:00
Harald Csaszar
6376daf61d [unity] SkeletonGraphic: Added auto-detect functionality for settings and materials. Renamed CanvasGroupTintBlack param to CanvasGroup Compatible (breaking change). 2024-03-15 11:02:06 +01:00
Harald Csaszar
ae315f555b [unity] SkeletonGraphic: Fixed incorrect settings as material variants 'CanvasGroupStraight'. See commit f4c0f64. 2024-03-15 10:39:15 +01:00
Harald Csaszar
41ee663279 [unity] Fixed SkeletonGraphic TintBlack shader with PMA Vertex Color and CanvasGroup Compatible looking incorrect. Closes #2483. 2024-03-13 11:56:45 +01:00
Harald Csaszar
e3c98b8a62 Merge branch '4.1' into 4.2-beta 2024-03-07 17:22:59 +01:00
Harald Csaszar
b9b6e0d352 [unity] Fixed Leftover AnimationState applied when calling Initialize(true). Closes #2475. 2024-03-07 17:20:44 +01:00
Harald Csaszar
651611b573 Merge branch '4.1' into 4.2-beta 2024-03-07 16:06:59 +01:00
Harald Csaszar
795fb92080 [unity] Fixed SkeletonBinary hash {" accidentally being detected as json. Closes #2474. 2024-03-07 16:05:10 +01:00
Harald Csaszar
f4c0f64f0d [unity] Fixed Tint Black for transparent vertex alpha, see #2457 (previous fix was incorrect). Added SkeletonGraphic TintBlack blend mode shaders and separate material sets. 2024-03-05 18:31:20 +01:00
Harald Csaszar
506c2dd33a [unity] PhysicsConstraints: Changed boolean ApplyTranslation/RotationToPhysics properties to float and Vector2 scale properties for more flexibility. See commit 9602a71. 2024-02-14 17:27:35 +01:00
Harald Csaszar
c64096ccad Merge branch '4.1' into 4.2-beta 2024-02-07 21:04:30 +01:00
Harald Csaszar
a8f400b9bf [unity] Fixed incomplete bugfix commit b3aa3e0 regarding GetRepackedSkin issue with 270 degree rotation polygon packing and non-square atlas. See #2445. 2024-02-07 20:59:11 +01:00
Harald Csaszar
c46ae017fd [unity] PhysicsConstraints: Made applyRotationToPhysics and applyTranslationToPhysics protected, added getter/setter automatically resetting last position (see commit 4266c72). 2024-02-06 16:20:54 +01:00
Harald Csaszar
2a42f1a160 [unity] PhysicsConstraints: Made physicsMovementRelativeTo protected, added getter/setter automatically resetting last position (see commit 4266c72). 2024-02-05 20:12:21 +01:00
Harald Csaszar
b850ff7715 [unity] Fixed compile error on Unity 2017.1 introduced by preceding commit 4266c72. 2024-02-05 17:49:03 +01:00
Harald Csaszar
ad825305f0 [unity] PhysicsConstraints: Added inspector properties for Movement relative to, see previous commit 4266c72. 2024-02-05 17:35:02 +01:00
Harald Csaszar
4266c727cb [unity] PhysicsConstraints: Added Movement relative to Transform property for relative instead of world-space movement. 2024-02-05 17:00:07 +01:00
Harald Csaszar
6812160239 [unity] Fixed Skeleton Tint Black shaders where Black color ignored transparent vertex alpha. Closes #2457. 2024-01-31 21:57:05 +01:00
Harald Csaszar
b5f6e8066f [unity] PhysicsConstraints: Fixed a potential bug with last position and rotation being reset too early in Initialize(). 2024-01-26 18:04:42 +01:00
Harald Csaszar
9602a715d9 [unity] Automatically applying Transform rotation changes to skeleton physics constraints at skeleton components. See commit 05e37fc. 2024-01-22 18:25:44 +01:00
Harald Csaszar
900e92ba46 [unity] Physics Transform position changes: Fixed Z instead of Y axis affecting vertical translation (see commit 09e1436). 2024-01-22 17:55:45 +01:00
Harald Csaszar
09e1436504 [unity] Automatically applying Transform position changes to skeleton physics constraints at skeleton components. See commit b5d1aea. 2024-01-19 17:25:55 +01:00
Harald Csaszar
7aeb4c3a27 Merge branch '4.1' into 4.2-beta 2024-01-10 17:16:26 +01:00