Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The result is different with Unity.Anagle Method? #18

Closed
Justin-sky opened this issue Nov 29, 2022 · 1 comment
Closed

The result is different with Unity.Anagle Method? #18

Justin-sky opened this issue Nov 29, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@Justin-sky
Copy link

var v1 = new Vector3(0, 1, 0);
var v2 = new Vector3(1, 0, 0);
var angle = v1.FindRotation(v2) * Mathf.Rad2Deg;
Debug.Log(angle);  // (28.65, -28.65, -14.32)

var a2 = Vector3.Angle(v1, v2);
Debug.Log(a2);  // 90

Is this result correct ?

@sr229 sr229 added the wontfix This will not be worked on label Nov 29, 2022
@sr229
Copy link
Member

sr229 commented Nov 29, 2022

This is a Unity side issue. Keep in mind we are 1:1 with Kalidokit so of it doesn't work there it won't work here. Please see #11 as well.

@sr229 sr229 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants