Hi, I’m making a small indie fighting game demo to learn how to code games, I’ve been having trouble coming up with ideas on how to check if my characters are looking at each other. Is there a way to check if the forward vector of one of my characters is looking towards the collision box of another character?
actorLocation, distance, actorForwardVector - rather obvious. You can use collision profile or trace channel to make linetrace more optimized and fast. In query params you can add actors to ignore and smth like this.