The Hypotenuse Blueprint node currently returns a value of "-nan(ind)" if both values passed into the node are "0.0". This result is correct based on the code that the Hypotenuse node uses, but is not what is expected based on the Pythagorean Theorem. Based on the Pythagorean Theorem, the expected result would be "0.0" (ignoring that a "0.0" length should be impossible).
RESULT:
The top left corner of the viewport shows all three values of the Vector as "-nan(ind)".
EXPECTED:
The top left corner of the viewport shows all three values of the Vector as "0.0".
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-69468 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.19.2, 4.22 |
Target Fix | 4.22 |
Created | Feb 1, 2019 |
---|---|
Resolved | Feb 5, 2019 |
Updated | Feb 8, 2019 |
5518 - projectgheist |