Search Issue Tracker

By Design

Votes

3

Found in

2017.3.0f3

Issue ID

985741

Regression

No

Vector3.SignedAngle() ignores axis parameter

Scripting

-

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)

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.