How to make a fighting moves

I’m not going to, because that is just a pretty useless waste of time and solves nothing. The Magnitude with the LookVector check is what works for me and I’m going to keep it that way, many of devs that make Advanced Combat Systems like this use this Magnitude check.

Dot product is far from useless. Also I do advise on a different attitude if you want to evolve as a developer.

I’m just saying I’m not going to use it because the magnitude check is fine, so no I will not switch my method of determining if Player 1 is looking at Player 2. Also, when I said “useless” I was referring to using that method in this system is completely useless because it solves nothing and it’s not better / doesn’t improve anything.

Well using dot product would give you a more precise result, you could for example specify an angle threshold.

2 Likes

The Magnitude check is perfectly fine, no need of another method. I’ve used this method a lot and it’s ok to use, it’s always precise.

1 Like