Search Issue Tracker

Fixed in 7.1.0

Votes

0

Found in [Package]

6.8.0

Issue ID

1168650

Regression

No

[Nodes] Radians/degrees mismatch between Rectangular to Spherical and Spherical to Rectangular

Package: Visual Effect Graph

-

Repo steps:
1. Plug a particle position into a 'Rectangular to Spherical' node
2. Plug the output from 1 into a 'Spherical to Rectangular' node
3. Set the new position value back to the particle position
4. Observe that the particle is no longer where it was.

Expected outcome: the two nodes to negate each-other.

Note:
- Looks like Rectangular to Spherical is outputting theta and phi in radians, but Spherical to Rectangular is trying to convert degrees to radians:
return new[] { VFXOperatorUtility.SphericalToRectangular(VFXOperatorUtility.DegToRad(inputExpression[0]), VFXOperatorUtility.DegToRad(inputExpression[1]), inputExpression[2]) };

Probably removing the two VFXOperatorUtility.DegToRad operators will resolve this.

  1. Resolution Note (fix version 7.1.0):

    Resolved in package version 7.1.0.

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.