v3 working transformations and working knie offset :D

This commit is contained in:
mangavalk committed 2018-11-11 18:11:13 +01:00
1 parent 057b2475b2
commit b9a5e6d523
4 files changed
+42 -10

No files matched your search

+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();