How would I potentially create damage in a melee game where more/less damage is taken depending on the angle of two swords when they make contact? I have line tracing set up for damage, what would be the best way to create angular damage?

Does anyone have suggestions or experience in this area? Thank you

I don’t have a solution, just an idea: Dot Product of two vectors produces a number between -1 and 1, where 1 means the vectors’ directions are parallel, 0 means they’re perpendicular and -1 means they’re facing exactly opposite directions.

That might help you come up with something.

At first I was thinking Impact Normal too, and that might work, but you’d need to compare it against something since it gives you a world vector and I don’t think it tells you how severe the angle is.

Dot Product tells you the severity of the difference in two vector angles so that might be your best bet, maybe combining it with another thing or two if necessary, including perhaps the impact normal and the character’s sword’s world up-vector or something.