652 Commits

Author SHA1 Message Date
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
Harald Csaszar
b3aa3e0c48 [unity] Fixed GetRepackedSkin issue with polygon packing and 270 degree rotation and atlas is non-square. Closes #2445. 2024-01-10 17:08:38 +01:00
Harald Csaszar
0b9bab2392 Merge branch '4.1' into 4.2-beta 2023-12-19 16:53:43 +01:00
Harald Csaszar
05de65cf9e [unity] Fixed SkeletonRenderSeparator with CustomMaterialOverride potentially throwing ArgumentNullException. Closes #2435. 2023-12-19 16:44:44 +01:00
Harald Csaszar
003adc70d6 Merge branch '4.1' into 4.2-beta 2023-12-12 13:41:08 +01:00
Harald Csaszar
dd81e4b062 [unity] Fixed SkeletonGraphic newly added SkeletonSubmeshGraphic having wrong offset. Closes #2433. 2023-12-12 13:39:47 +01:00
Harald Csaszar
ae67ba9b8d [unity] Simplified UpdateWorldTransform at all ISkeletonAnimation components, removed options added in commit 2a31b4d. Added missing old changelog entry. 2023-12-01 19:44:06 +01:00
Harald Csaszar
72b2b9c26f [unity] Fixed GetRepackedSkin not always working with sequences. See #2268. 2023-12-01 16:01:30 +01:00
Harald Csaszar
2a31b4d9b1 [unity] Made UpdateWorldTransform mode configurable at all ISkeletonAnimation components. Fixed SkeletonRootMotionBase physics update mode. 2023-11-29 18:10:30 +01:00
Harald Csaszar
5fe6da05d6 [unity] Optimization: Not rendering slot alpha 0 attachments by default. 2023-11-27 20:22:32 +01:00
Harald Csaszar
ebdc26ce9f [unity] Minor code cleanup. 2023-11-24 19:47:46 +01:00
Harald Csaszar
f029c1d4fd [unity] Code and method signature cleanup (made ApplyAnimation and AfterAnimationApplied public virtual). 2023-11-24 19:32:11 +01:00
Harald Csaszar
fb2a76248f [unity] Moved skeleton.Update to UpdateAnimationStatus. 2023-11-24 18:09:58 +01:00
Harald Csaszar
f8352dce0a [unity] Ported 4.2-beta physics. Updated skeleton assets. 2023-11-17 17:18:18 +01:00
Harald Csaszar
0b287f9a0a Merge branch '4.1' into 4.2-beta 2023-11-13 15:46:23 +01:00
Harald Csaszar
f9bf739498 [unity] Fixed a memory leak in SkeletonPartsRenderer. Closes #2414. 2023-11-13 15:40:35 +01:00
Harald Csaszar
f9cd75a0db Merge branch '4.1' into 4.2-beta 2023-11-02 21:26:48 +01:00
Harald Csaszar
3172475cd6 [unity] Fixed SkeletonGraphic.MatchRectTransformWithBounds setting referenceSize. Closes #2408. 2023-11-02 21:19:47 +01:00
Mario Zechner
6241ce9f14 Merge branch '4.1' into 4.2-beta 2023-10-11 11:45:00 +02:00
Harald Csaszar
ca06a5a7f6 [unity] Minor: formatting fixes. 2023-10-06 19:18:45 +02:00
Harald Csaszar
9999ea82ca Merge branch '4.1' into 4.2-beta 2023-10-06 18:47:28 +02:00
Harald Csaszar
8bc1201b83 [unity] On-demand loading of Atlas Textures now supports SkeletonGraphic. Added method RequestLoadTexture and TextureRequested delegate to OnDemandTextureLoader. Fixed missing loader asset name suffix. See #1890. 2023-10-06 18:35:32 +02:00
Harald Csaszar
9385fb741f Merge branch '4.1' into 4.2-beta 2023-10-04 19:42:59 +02:00