GetElbowPosition() 공개 메소드

public GetElbowPosition ( ) : Vector3
리턴 Vector3
예제 #1
0
    private void DrawDebugLines()
    {
        HandModel hand = GetComponent <HandModel>();

        Debug.DrawLine(hand.GetElbowPosition(), hand.GetWristPosition(), Color.red);
        Debug.DrawLine(hand.GetWristPosition(), hand.GetPalmPosition(), Color.white);
        Debug.DrawLine(hand.GetPalmPosition(),
                       hand.GetPalmPosition() + hand.GetPalmNormal(), Color.black);
        Debug.Log(Vector3.Dot(hand.GetPalmDirection(), hand.GetPalmNormal()));
    }