Search Issue Tracker
By Design
Votes
3
Found in
2017.3.0f3
Issue ID
985741
Regression
No
Vector3.SignedAngle() ignores axis parameter
To reproduce:
1. Open repro project
2. Play scene
Expected: message 'Expected: 0 Actual: 0' will be thrown
Actual: Vector3.SignedAngle() returns 45 instead of 0
Reproduced: 2017.1.2p4, 2017.2.1p1, 2017.3.0p1, 2018.1.0b2, 2018.2.0a1
In 5.6.5f1 function does not exist
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Button highlight state disabled when hovering cursor over smaller sized child UI objects
- "Unity has stopped working" window is skipped when the Editor crashes
- The "Properties..." shortcut does not open the Focused Inspector window when the new GameObject is created
- Editor crashes when using WebCamTexture
- [URP] ShaderKeywords '_MAIN_LIGHT_SHADOWS' and '_ADDITIONAL_LIGHT_SHADOWS' are always enabled in the Editor
MoonstopGames
Mar 06, 2018 18:14
Can also be reproduced on version: 2017.3.0p4
Repro steps:
Vector3.SignedAngle(new Vector3(0, 0.5, 0.5f), new Vector3(0, 0, 1f), new Vector3(1f, 0, 0));
Vector3.SignedAngle(new Vector3(0, 0.5, 0.5f), new Vector3(0, 0, 1f), new Vector3(0, 1f, 0));
Expected:
45
0
Actual:
45
45