To make the IK target's calibration easily callable from a button, it now has a Calibrate method.

Thanks to Deat for noting that this would be useful!
This commit is contained in:
Emiliana 2020-03-28 18:13:35 +01:00
parent 8c547a3b39
commit b6fc931723
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,10 @@ public class OpenSeeIKTarget : MonoBehaviour
private Quaternion currentR;
private Vector3 currentT;
private bool lastMirror = false;
public void Calibrate() {
calibrate = true;
}
void Interpolate() {
if (!interpolate || interpolateState < 2)

Binary file not shown.