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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
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