mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[unity] Port of commit 25bd863: Reverse IK bend positive logic.[..]Requires 4.3.39-beta+.
This commit is contained in:
parent
a018a3d7e9
commit
ad1f910338
@ -255,7 +255,7 @@ namespace Spine {
|
||||
data.skinRequired = (flags & 1) != 0;
|
||||
data.uniform = (flags & 2) != 0;
|
||||
IkConstraintPose setup = data.setup;
|
||||
setup.bendDirection = (flags & 4) != 0 ? 1 : -1;
|
||||
setup.bendDirection = (flags & 4) != 0 ? -1 : 1;
|
||||
setup.compress = (flags & 8) != 0;
|
||||
setup.stretch = (flags & 16) != 0;
|
||||
if ((flags & 32) != 0) setup.mix = (flags & 64) != 0 ? input.ReadFloat() : 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user