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
Comments (1)
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
- Project Settings Package Manager dropdown button text becomes offcentered when any new package is installed
- iOS Xcode project building fails when the build is appended
- 2D Colliders, attached to a grandchild GameObject, aren't immediately destroyed when destroying the parent GameObjects in FixedUpdate
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
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