v9 walk3 wip

This commit is contained in:
2018-11-19 22:21:47 +01:00
parent 471f15c112
commit aa1f537137
6 changed files with 181 additions and 30 deletions
+5
View File
@@ -99,6 +99,11 @@ public class Leg : MonoBehaviour {
pointShouldBe.transform.localPosition = foot.pos;
}
public Vector3 getLocalPos()
{
return point;
}
public Vector3 getWorldPos()
{
return point + new Vector3((float)translateX, (float)translateY, (float)translateZ);