void UpdateHangPoint() { // isHanging = Physics.Raycast(ledgeDetectionTransform.position, MapToInputSpace(Vector3.forward), ledgeGrabDistance); if (isHanging != ledgeDectector.DetectLedge()) { isHanging = ledgeDectector.DetectLedge(); Debug.Log("hanging set to: " + isHanging); } }
void UpdateHangPoint() { // isHanging = Physics.Raycast(ledgeDetectionTransform.position, MapToInputSpace(Vector3.forward), ledgeGrabDistance); isHanging = ledgeDectector.DetectLedge(); }