v3 working transformations and working knie offset :D

This commit is contained in:
2018-11-11 18:11:13 +01:00
parent 057b2475b2
commit b9a5e6d523
4 changed files with 42 additions and 10 deletions
+4
View File
@@ -14,6 +14,8 @@ public class Leg : MonoBehaviour {
public Vector3 point = new Vector3(10, 10, 0);
public Quaternion rotation = new Quaternion(0, 0, 0, 0);
public Vector3 transformation = new Vector3(0, 0, 0);
public bool invert = false;
public double translateX = 0;
@@ -45,6 +47,8 @@ public class Leg : MonoBehaviour {
foot.translateY = translateY;
foot.translateZ = translateZ;
foot.transformation = transformation;
foot.invert = invert;
foot.setleg();