public float GetJointAngle1()
    {
        float angle = 0.0f;

        if (m_joint != null)
        {
            dNewtonJointUniversalActuator joint = (dNewtonJointUniversalActuator)m_joint;
            angle = joint.GetAngle1();
        }
        return(angle);
    }
    public override void Create()
    {
        NewtonBody child     = GetComponent <NewtonBody>();
        dMatrix    matrix    = Utils.ToMatrix(m_posit, Quaternion.Euler(m_rotation));
        IntPtr     otherBody = (m_otherBody != null) ? m_otherBody.GetBody().GetBody() : new IntPtr(0);

        m_joint = new dNewtonJointUniversalActuator(matrix, child.GetBody().GetBody(), otherBody);

        TargetAngle0 = m_targetAngle0;
        AngularRate0 = m_angularRate0;
        MaxTorque0   = m_maxTorque0;

        TargetAngle1 = m_targetAngle1;
        AngularRate1 = m_angularRate1;
        MaxTorque1   = m_maxTorque1;
    }