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
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.
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 7.1.0):
Resolved in package version 7.1.0.