v9 walk3 wip
This commit is contained in:
1 parent
98b0fb4466
commit
9b40dccbf4
6 files changed
+89
-25
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user