How to reproduce:
1. Open the attached Project "dampTest" and load Scene "SampleScene"
2. Enter Play Mode
3. Press the "T" key on the keyboard
4. Observe the Console
Expected result: "SmoothDampAngle velocity: 0" log can be seen in the Console
Actual result: "SmoothDampAngle velocity: NaN" log can be seen in the Console
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.1.14f1, 2023.1.0b11, 2023.2.0a11
Reproduced on:
Notes:
- Mathf.SmoothDamp can set currentVelocity to NaN as well, but only when current and target are equal