mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 13:19:08 +08:00
[Unity] Fix GroundConstraint -y pose values
Fix for this issue: https://github.com/EsotericSoftware/spine-runtimes/issues/484 http://esotericsoftware.com/forum/Unity-IK-SkeletonUtilityGroundConstraint-problem-5464
This commit is contained in:
parent
ed35664230
commit
e4f9c46412
@ -71,6 +71,7 @@ public class SkeletonUtilityGroundConstraint : SkeletonUtilityConstraint {
|
|||||||
|
|
||||||
protected override void OnEnable () {
|
protected override void OnEnable () {
|
||||||
base.OnEnable();
|
base.OnEnable();
|
||||||
|
lastHitY = transform.position.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnDisable () {
|
protected override void OnDisable () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user