Search Issue Tracker

Active

Under Consideration for 1.3.X

Votes

0

Found in [Package]

1.3.2 - Mathematics

Issue ID

ECSB-972

Regression

No

Identity quaternion instead of a quaternion representing the rotation is returned when using "Quaternion.FromTo()" on the two vectors if having a small angle

Package: Unity Mathematics

-

How to reproduce:
1. Open the user’s attached “BugReport-FromToRotation.zip” project
2. Enter “BugReport-FromToRotation” Scene (Assets > Scenes)
3. Enter Play Mode and observe the result

Expected result: All Cubes are rotating
Actual result: All Cubes besides the bottom right are rotating

Reproducible with: 2021.3.34f1, 2022.3.19f1, 2023.3.8f1, 2023.3.0b4

Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested

Notes:
- reproducible in the Editor and Standalone Player (macOS)
- If setting the X value of the "To" vector to be anything lower than 0.028, then both "FromTo" and "AngleAxis" fail to rotate the objects

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.