328 Commits

Author SHA1 Message Date
NathanSweet
8538e793d6 Clean up, convenience methods to get local rotation from world. 2016-06-01 15:58:50 +02:00
NathanSweet
86e9a75846 Improved updateLocalTransform. 2016-06-01 14:44:11 +02:00
NathanSweet
a990d6dfdd Clean up. 2016-06-01 02:37:41 +02:00
NathanSweet
bcee9ede8d Improved parameter checking. 2016-05-31 18:08:48 +02:00
NathanSweet
de2b7674c4 Better use of constants, formatting. 2016-05-31 17:52:43 +02:00
NathanSweet
62ae3c83b5 Optimizations. 2016-05-31 01:46:38 +02:00
NathanSweet
c4810e23d6 Path constraint optimization. 2016-05-29 05:58:23 +02:00
NathanSweet
cdbc878f31 Scale mix for path constraints. 2016-05-29 02:33:14 +02:00
NathanSweet
05b3e66dc0 Start of multi bone path constraints. 2016-05-28 20:30:12 +02:00
NathanSweet
e50b591558 Added updateLocalTransform. 2016-05-28 01:34:02 +02:00
NathanSweet
1fa2b35e09 Clean up. 2016-05-28 01:33:45 +02:00
NathanSweet
463020e254 Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:58:31 +02:00
NathanSweet
ceb86b597b Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:57:29 +02:00
NathanSweet
4748b5bbea Fixed close path looping. 2016-05-26 13:36:50 +02:00
NathanSweet
903fbf1340 Clean up. 2016-05-26 02:18:53 +02:00
NathanSweet
00c5313bd1 Support for path constraint rotation, closed paths, outside curve position. 2016-05-25 17:19:35 +02:00
NathanSweet
c406e44785 Improved vertex attachment, paths. 2016-05-25 01:16:37 +02:00
NathanSweet
c976f8038b Fixed IK mix rotating the wrong direction. 2016-05-25 01:16:11 +02:00
NathanSweet
a84e3379d8 Much better paths. 2016-05-23 04:07:33 +02:00
NathanSweet
ee29123dfa Spine v3.3 WIP 2016-05-21 00:40:07 +02:00
NathanSweet
1be89d1c57 Fixed single bone IK with nonuniform scale. Improved two bone IK. 2016-05-06 23:09:50 +02:00
NathanSweet
a92b54b7f0 Clean up. 2016-04-29 23:18:01 +02:00
NathanSweet
55f6db3af9 Mix transform constraint scale and shear offsets. 2016-04-29 20:02:50 +02:00
NathanSweet
188bf8dc03 Fixed TransformConstraint constructors. 2016-04-28 20:39:26 +02:00
NathanSweet
27958c145b Fixed setBonesToSetupPose not reseting shearMix. 2016-04-28 19:16:27 +02:00
NathanSweet
6491800a23 Fixed binary loader scale for transform constraints. 2016-04-28 19:16:04 +02:00
NathanSweet
8d7f761311 spine-libgdx updated to 3.2.00.
* Added transform constraint rotate, scale, and shear offsets and mixes.
* Added TransformConstraintTimeline.
* Added bone shearing.
* Added ShearTimeline.
* Changed Skeleton#updateCache.
* Changed JSON and binary formats. Some binary format fields and enums were rearranged for consistency -- sorry, but it's better for the long term. Docs for both are up to date.
http://esotericsoftware.com/spine-json-format
http://esotericsoftware.com/spine-binary-format
2016-04-26 22:51:04 +02:00
NathanSweet
86fa7aef11 On second thought, the math optimizations are OK.
(reverted from commit 547ea760d82c3c7e1dc825704eb2046a218317b1)
If inaccuracy becomes a problem at runtime (which is unlikely), users can decide to remove the optimizations.
2016-04-21 11:33:38 +02:00
NathanSweet
547ea760d8 Removed math optimizations to improve accuracy. 2016-04-21 11:26:39 +02:00
NathanSweet
e74b61e775 Clean up. 2016-04-19 20:51:52 +02:00
NathanSweet
1410f0e16f Clean up. 2016-04-15 17:40:48 +02:00
NathanSweet
108dd3dd97 Linked meshes also share edges and image size. 2016-04-15 12:21:45 +02:00
NathanSweet
47f79b7a8d Fixed reading UTF-8 with GWT.
http://esotericsoftware.com/forum/SkeletonBinary-java-does-not-compile-on-LibGDX-GWT-6191
2016-04-14 14:43:00 +02:00
NathanSweet
2c0dea8f87 Fixed reading draw order timeline in binary format. 2016-04-14 13:40:39 +02:00
NathanSweet
7823833bb4 Minor clean up. 2016-04-13 21:14:59 +02:00
NathanSweet
bf902936aa Fixed IK when the parent has nonuniform scale and the child Y != 0. 2016-04-12 23:26:08 +02:00
NathanSweet
b22669711d Fixed skeleton flip when rotation and scale are disabled. 2016-04-12 23:25:31 +02:00
NathanSweet
8c55aa1f62 Fixed reading UTF8. 2016-04-09 17:03:20 +02:00
NathanSweet
3a06b829cc Changed binary format for 3.1.05.
* String encoding simplified for reading by using number of bytes rather than number of UTF-8 characters.
* Parent bone index is no longer minus 1 and omitted for root.
* Mesh and weighted mesh vertices array is no longer preceeded by a length. UVs array length is vertex count, not vertex array length. Edges changed to short.
* Bounding box vertices array length is vertex count, not vertex array length.
2016-04-08 20:51:32 +02:00
NathanSweet
a60a0d1b78 Documentation. 2016-04-04 10:19:37 +02:00
NathanSweet
7525c37941 Changed tests to Java 1.7. 2016-04-03 19:11:04 +02:00
NathanSweet
4f3ccc2c51 List the supported editor version on each runtime README.
closes #526
2016-04-03 19:10:47 +02:00
NathanSweet
6c353c1a38 Fixed worldToLocal.
closes #544
2016-04-03 18:30:35 +02:00
NathanSweet
3607e32855 Fixed loading linked meshes from JSON/binary when the source mesh is in a skin. 2016-04-01 22:33:31 +02:00
NathanSweet
3da9f83501 Fixed region scale. 2016-03-31 14:07:43 +02:00
NathanSweet
f2eed37444 Updated spine-libgdx to 3.1.00: linked meshes. 2016-03-03 07:26:49 +01:00
NathanSweet
1e7f6277c2 Updated error message. 2016-02-27 02:13:38 +01:00
NathanSweet
f9d3988ee5 Fixed single bone IK with skeleton flipping. 2016-02-27 02:13:05 +01:00
NathanSweet
b0eec6f411 Changed bone sorting so transform behavior is consistent when IK and transform constraints are mixed. 2016-02-25 07:47:20 +01:00
NathanSweet
d93e1507fc Fixed disabling scale/rotation.
closes #525
2016-02-22 10:18:16 +01:00