I want to find the direction from the attacker’s position and the blocker’s and see if it’s blocked, if the direction is within 75 degrees each side then it is blocked. I’m struggling to find a way to do this… Any suggestions?
If inside the 150 degrees cone infront of the blocker its blocked
if outside the blocking angle it hits
You can use various methods here. For example, you could fire an event that retrieves the LookVector of the attacker and the blocker, then use a Raycast function to check the distance between them. You can apply additional mechanics if the attacker faces the blocker from a certain angle. This may not be the best method of performing this, but it’s only an example.