Search How to use trig to find the end portal