public float GetJointAngle1() { float angle = 0.0f; if (m_joint != null) { dNewtonJointDoubleHingeActuator joint = (dNewtonJointDoubleHingeActuator)m_joint; angle = joint.GetAngle1(); } return(angle); }