1333 Commits

Author SHA1 Message Date
Nathan Sweet
1fcaba8c85 [libgdx] Fixed some physics constraint behavior when strength is 0. 2023-11-21 20:59:08 -04:00
Nathan Sweet
92a9b88e00 [libgdx] Javadoc for AnimationState setMixDuration. 2023-11-21 11:17:44 -04:00
Nathan Sweet
40aca11ccd [libgdx] Added alphaAttachmentThreshold. Fixed attachment timelines not being applied on higher tracks.
https://esotericsoftware.com/forum/d/25151
2023-11-21 10:51:46 -04:00
Nathan Sweet
ad263d48be [libgdx] Physics data loading fixes. 2023-11-16 12:21:14 -04:00
Nathan Sweet
7f89281d57 [libgdx] Added global physics timelines. 2023-11-12 19:46:41 -04:00
Nathan Sweet
c2906998ad Fixed physics reset leaving some state. 2023-11-12 11:01:22 -04:00
Nathan Sweet
1c3eaafb95 [libgdx] setToSetupPose doesn't reset physics. 2023-11-11 13:04:57 -04:00
Nathan Sweet
f7c8c6deb1 [libgdx] Physics reset timelines data loading. Fixed physics rotate/shear. 2023-11-10 21:17:41 -04:00
Nathan Sweet
7fae9e54ae [libgdx] Added physics reset timeline. 2023-11-10 17:22:43 -04:00
Nathan Sweet
e00fb24ea3 [libgdx] Float instead of boolean for physics properties. 2023-11-10 14:44:25 -04:00
Nathan Sweet
a4efb66d74 [libgdx] Fixed physics scaleX when the bone world scale is 0. 2023-11-10 08:37:33 -04:00
Nathan Sweet
4b7f5b0a96 Fixed sequence timelines being off by 1 frame in some cases.
closes EsotericSoftware/spine-editor#759
2023-11-08 21:14:07 -04:00
Nathan Sweet
24b307eac2 [libgdx] Removed debug physics checkbox from Skeleton Viewer. 2023-11-08 20:04:54 -04:00
Nathan Sweet
1d45f50ef3 [libgdx] Removed debug physics checkbox from Skeleton Viewer. 2023-11-08 19:04:57 -04:00
Nathan Sweet
4f58767740 [libgdx] Added bone and slot visibility nonessential data. 2023-11-08 18:46:21 -04:00
Nathan Sweet
d4452009ae [libgdx] Fixed physics massInverse from JSON. 2023-11-08 17:50:52 -04:00
Nathan Sweet
c30e5828d1 [libgdx] Load physics constraints from JSON. 2023-11-08 17:39:41 -04:00
Nathan Sweet
3541d005a7 [libgdx] Physics mass -> massInverse. Timeline is not inverted. 2023-11-08 14:15:49 -04:00
Nathan Sweet
043a8ea9ae [libgdx] Removed last bits of friction. 2023-11-08 09:28:45 -04:00
Nathan Sweet
e894b10802 [libgdx] Added skin color to nonessential data. 2023-11-08 09:28:31 -04:00
Nathan Sweet
63202d339b [libgdx] Physics improvements. 2023-11-07 20:17:09 -04:00
Nathan Sweet
251b368cbf [libgdx] Physics scale fixes. 2023-11-06 17:50:03 -04:00
Nathan Sweet
b40b40ffe1 [libgdx] Physics WIP. 2023-11-06 17:50:03 -04:00
Nathan Sweet
45b27b2907 [libgdx] Fixed physics shear. 2023-11-06 17:50:03 -04:00
Harald Csaszar
fa324fd838 [libgdx] Fix json TransformConstraint timeline mixShearY value being ignored. See commit c8f2370. 2023-10-26 23:02:45 +02:00
Nathan Sweet
ccb14771f8 [libgdx] Prefer SpineUtils over MathUtils. 2023-10-12 15:14:51 -04:00
Nathan Sweet
95ce8a5547 [libgdx] Binary, timelines, physics updates.
* Refactored timelines for code reuse.
* Added physics timelines.
* Improved physics behavior.
* Optimized binary format for ~7% size reduction.
* Added physics to binary format.
* Changed rotation normalization to ceil.
* Added bone icon as nonessential data.
2023-10-10 22:00:09 -04:00
Nathan Sweet
55bb8fc65a [libgdx] SkeletonViewer reload button retries last file if it failed. Smaller minimized size. 2023-10-08 14:13:10 -04:00
Nathan Sweet
008541ef8e [libgdx] Scale physics wind and gravity for translation, scale rotation for shear X. 2023-10-01 14:37:49 -04:00
Nathan Sweet
831ec8f622 [libgdx] Physics update.
Still WIP, but close.
2023-10-01 01:05:11 -04:00
Nathan Sweet
ae85b7223d [libgdx] Javadoc. 2023-10-01 00:11:48 -04:00
Nathan Sweet
4116af02fa [libgdx] Added a Physics enum to updateWorldTransform and Updateable#update to control how physics and other non-deterministic updates are applied. 2023-09-28 16:35:25 -04:00
Nathan Sweet
9678808aaf [libgdx] Added SkeletonActor# and SkeletonDrawable#updateWorldTransform for subclasses to override. 2023-09-28 16:35:25 -04:00
Nathan Sweet
a70e8f1e28 [libgdx] Added AnimationState#wasApplied. 2023-09-28 16:35:25 -04:00
Nathan Sweet
546d55a929 [libgdx] Fixed reading shearY mix for transform constraint timelines. 2023-09-28 16:35:25 -04: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
Nathan Sweet
669bac65ef Revert physics constraint to an empty implementation. 2023-07-28 12:54:56 -04:00
Nathan Sweet
d65311dba0 [libgdx] Added worldToParent and parentToWorld so application code doesn't need to check the parent for null (when it is the root). 2023-07-26 13:41:57 -04:00
Jianan
bb6cf1194c
[libgdx] fix packedColor's color format of TwoColorPolygonBatch. The packedColor is abgr8888, not rgba888. (#2295) 2023-06-02 15:38:51 +02:00
Harald Csaszar
954ab69bce Merge branch '4.1' into 4.2-beta 2023-04-06 13:30:38 +02:00
Nathan Sweet
e04e7b58f3 Adjusted fix for IK constraint NaN when parent has zero scale. 2023-04-05 17:58:42 -04:00
Nathan Sweet
3fd5ed2287 Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-04 20:07:21 -04:00
Harald Csaszar
cefdf8394d Merge branch '4.1' into 4.2-beta 2023-02-21 20:08:35 +01:00
UjNoaUlFVjJjbXNnU1dacQ==
a3888f5e99
Update README.md (#2254)
typo
2023-02-21 09:30:11 +01:00
Nathan Sweet
cc6f25340c Javadoc. 2023-02-15 11:50:04 -04:00
Nathan Sweet
9ac1d77d32 WIP 2023-02-15 11:50:04 -04:00
Mario Zechner
4263beea50 [flutter] More doc comments for core API. 2023-02-09 09:08:29 +01:00
Mario Zechner
98da436374 [libgdx] Update BoneData docs. 2023-02-08 11:48:37 +01:00
Mario Zechner
1891d00025 Merge branch '4.1' into 4.2-beta 2023-01-16 14:00:14 +01:00