State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:498748|TargetRelease:4.0v6|
Description
When applying an orient constraint to an object using face orientation, the constraint will error out when the object’s scale is small.
Steps to reproduce
1) Create a PrimitiveCreate node
2) Set the transform.scale X parameter to 0.05
3) Connect a downstream OrientConstraint node
4) Set the basePath parameter to the created primitive, “/root/world/geo/primitive”
5) Set the targetOrientation parameter to “Face”
6) Expand the scene graph
7) Enable implicit resolvers
Expected behavior
The sphere should be rotated and no error displayed.
Actual behavior
Error displayed on the console: "Orient constraint resolver: Error creating rotation from face points."
Workaround
Increase the scale of the geometry, apply the OrientConstraint, then apply a ConstraintResolve, and finally decrease the scale of the geometry back to the original scale.
Reproduced by support
This bug has been reproduced in:
Katana 5.0v1 - CentOS 7, Windows 10
Katana 4.5v1 - CentOS 7, Windows 10
Katana 4.0v1 - CentOS 7
Katana 3.6v1 - CentOS 7
Katana 3.5v1 - CentOS 7
Katana 3.2v1 - CentOS 7
Katana 3.1v1 - CentOS 7
Katana 3.0v1 - CentOS 7
Katana 2.5v1 - CentOS 7, Windows 10
Katana 2.0v1 - CentOS 7
Katana 1.6v3 - CentOS 7
Unable to reproduce bug in:
n/a
Earliest version tested
Katana 1.6v3 - This issue appears to be in all versions of the product
We're sorry to hear that
Please tell us why