66 Commits

Author SHA1 Message Date
Harald Csaszar
ec757bf9b7 [csharp][unity] Port of 4.3 changes until (including) 2d9f86a (4.3.37-beta). 2025-06-20 22:25:27 +02:00
Nathan Sweet
f08d58dc98 License header update. 2025-04-05 13:42:13 -04:00
Harald Csaszar
94d26d2b52 [csharp] Minor: port of commit 877e705, moved common subexpression part out. See commit b17595d. 2024-08-07 16:33:17 +02:00
Harald Csaszar
b17595db8a [csharp] Port of commit 853b5ee. Fix NaN in IKConstraint due to fp precision.
dd - r * r might result in a negative value, even if dd == r * r, depending on compiler optimizations and operation order.
2024-08-06 18:24:45 +02:00
Harald Csaszar
6118a5f704 [csharp] Port of commit cb48737: Fixed constraint copy constructors references the wrong bones. Closes #2511. 2024-04-29 19:09:45 +02:00
Harald Csaszar
5631eb9750 [csharp] Fixed Bone.yDown being ignored on 4.2 branch. See #1386 (regression). 2024-03-28 12:32:03 +01: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
b9b9a836e0 Merge branch '4.1' into 4.2-beta 2023-11-28 13:44:19 +01:00
Harald Csaszar
907166572b [csharp] Port of commit c11afb2, see #2412. Take skeleton scale into account when applying translation only IK constraint. 2023-11-28 13:40:57 +01:00
Harald Csaszar
fe53638f69 [csharp] Ported 4.2-beta physics. 2023-11-17 17:18:18 +01:00
Mario Zechner
74b7882efa Merge branch '4.1' into 4.2-beta 2023-07-31 13:29:29 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Harald Csaszar
954ab69bce Merge branch '4.1' into 4.2-beta 2023-04-06 13:30:38 +02:00
Harald Csaszar
210dc04109 [csharp] Port of commit e04e7b5. Adjusted fix for IK constraint NaN when parent has zero scale. 2023-04-06 11:07:26 +02:00
Harald Csaszar
463e18596c Revert "[csharp] Fix of incorrect bugfix commit f5fb9b5a. Fixed IK constraint NaN when a parent bone has zero scale."
This reverts commit fb59ba45b31bf8507e72134adec67c2740c40b44.
2023-04-06 11:07:26 +02:00
Harald Csaszar
fb59ba45b3 [csharp] Fix of incorrect bugfix commit f5fb9b5a. Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 15:45:03 +02:00
Harald Csaszar
f5fb9b5aa2 [csharp] Port of commit 3fd5ed22 - Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 10:43:58 +02:00
Harald Csaszar
7de6140875 Merge branch '4.1' into 4.2-beta 2023-01-10 13:21:46 +01:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
34a7eeb56d [csharp] Port TransformConstraint changes. See #2150. Changed Skeleton scaleX and scaleY from private to internal. 2022-09-12 11:46:34 +02:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Nathan Sweet
963da7561e [csharp] Code style update.
* `else` on same line as `if` brace.
* `var` only when the type is shown.
* Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`.
* Don't indent `case`.
* ExposedList for EventQueue just so iteration can use array indexing.
* EventQueue, inner members (struct/enum) after methods.
* No braces for single line `if/else/for`.
* Removed comments noting ref impl code, eg `// abc.setSize(xyz);`.
* Removed comments that didn't add to what the code shows, eg `// Pooling`.
* Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`.
* Removed commented code we are not using.
* Use local with list.Items when iterating.
2021-05-31 01:26:41 -04:00
Harald Csaszar
7b1469c32b [csharp] Ported commit 4f73fbb, "Fixed applying a constraint reverting changes from other constraints.", see #1896. 2021-05-27 18:35:52 +02:00
Harald Csaszar
1cf93b7105 [csharp] Minor formatting change. 2021-04-02 08:26:27 +02:00
Harald Csaszar
a6d57eaea2 [csharp] Port of commits f9862b1 and 33bce01. Stretch forces 0 child Y, avoid acos and division. Allow uniform for two bone IK. 2021-04-01 16:48:23 +02:00
Harald Csaszar
7ef2fc96db [csharp] Porting of commits dbd90ca, da1b280, 10d5a91 and e14db0e (includes 4.0 format changes). Fixed errors in color parsing introduced by previous porting 4.0 commit.
* Added separate X and Y for transform constraint translate and scale mix.
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
* Added separate X and Y sliders for path constraint translate mix.
* Added a proportional spacing mode to path constraints.
* Fixed path constraint when a parent bone of the path is scaled.
2020-11-16 21:01:11 +01:00
Harald Csaszar
d2529d410b [csharp] Porting of major 4.0-beta runtime changes. Remaining Unity assets will be updated in separate commit. See #1796. 2020-10-22 14:44:13 +02:00
Harald Csaszar
85dd60bf57 [csharp] port of bugfix commit 5cab7e9: Fixed 1-bone IK for transform mode noRotationOrReflection when skeleton scale is applied. 2020-06-03 16:36:50 +02:00
Mario Zechner
89da80d25f [csharp] Fixed errors in IKConstraint.cs. 2019-12-22 18:09:02 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
505719c1f1 [unity] Added soft IK support. See #1383. 2019-06-20 10:19:17 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +02:00
Harald Csaszar
c63bc7b88f [csharp] See #1346: Port bone/constraint association with skins. Also contains second (and final) partial port of commit ff5b854. Adapted spine-unity for skin changes. Fixed a bug in Skin setter property. 2019-05-22 18:37:57 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
Harald Csaszar
8ba88687dd [csharp] Fixed differences in PathConstraint and IKConstraint between csharp and ref-impl. Just cosmetic and doc differences found. See #1294. 2019-03-13 20:13:50 +01:00
Harald Csaszar
f186a83fca [csharp] Unified all line endings of files in spine-csharp to lf. 2018-12-24 12:43:06 +01:00
NathanSweet
237f1fd968 [csharp] Removed unnecessary porting differences. 2018-12-13 09:50:19 +01:00
pharan
cbd6b2617e [csharp] Port IkConstraint unform and compress. 2018-08-24 05:54:02 +08:00
pharan
70448abcdc [csharp] Update formatting and docs. 2018-08-14 23:51:33 +08:00
pharan
d5354cb6bf [csharp] Ported stretchy IK. See https://github.com/EsotericSoftware/spine-runtimes/issues/1142 2018-08-14 23:45:38 +08:00
pharan
61d9f729d6 [csharp] New labeled goto convention. For https://github.com/EsotericSoftware/spine-runtimes/issues/1002 2017-09-26 21:39:05 +08:00
pharan
354ef48a64 [csharp] Fix IkConstraint fix port. 73cb6299de 2017-06-10 06:50:29 +08:00
badlogic
73cb6299de [csharp] Ported IKConstraint fix. 2017-05-24 17:37:00 +02:00
pharan
a00c45f8e0 [csharp] Ported IKConstraint simplification, see #907 2017-05-24 19:28:00 +08:00
badlogic
b2d4fa4012 Merged with master, pulling in change from MathUtils -> TrigUtils in spine-libgdx as well as Maven pom.xml 2017-03-24 14:15:24 +01:00
pharan
2c92a4689b [csharp] Matching and cleanup. 1 of 2 2017-02-24 16:56:35 +08:00
pharan
a05ee4130f [csharp][unity][monogame][xna] Updated for compatibility with Spine 3.5.x 2016-11-01 23:46:47 +08:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00