5/3/21

private void CLIMBING_IN_The_VU() { //Vector3 vCtrl1_to_Ctrl2 = ctrl2.transform.position – ctrl1.transform.position; bool bClimb1 = ctrl1.GetComponent<Argos_Controller_Interface>().bClimbing; bool bClimb2 = ctrl2.GetComponent<Argos_Controller_Interface>().bClimbing; Vector3 axis; float angle; if (bClimb1 || bClimb2) { if (is_A_Trigger_Pressed() && bClimb1) { //print(“Climb Frame Trigger & bClimb – 1”); vCtrl1_Right = ctrl1.transform.right; Quaternion q = Quaternion.FromToRotation(vCtrl1_Right, vCtrl1_Last_Right); vCtrl1_Up = ctrl1.transform.up; Quaternion q2 = Quaternion.FromToRotation(vCtrl1_Up, vCtrl1_Last_Up); […]