I’m making a clock puzzle where you have to put the correct time in the clock to proceed but every time the rotations of the clock face are correct the trigger does work. I’ve found that it has to do with the angle tester lines but I can’t figure out why.
private void OnTriggerEnter(Collider other)
{
if (big_hand.transform.rotation.eulerAngles.x > -100) && (big_hand.transform.rotation.eulerAngles.x < -80 && little_hand.transform.rotation.eulerAngles.x > -40 && little_hand.transform.rotation.eulerAngles.x < -60)
{ SceneManager.LoadScene(“SampleScene”)
}
}