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
- Sprite Preview is broken when the Sprite is too tall or too wide
- Objects are invisible in Scene view when using Wireframe Shading Mode
- The property of a component becomes read-only when it is bound to "PropertyStreamHandle"
- Physics.Raycast does not work when used on the whole model
- Shader Graph changes the Position of Prefab instances in Play mode
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