v3 working transformations and working knie offset :D
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user