Skip to content

Fixed missing flag in HelloCube#270

Merged
BrianWill-Unity merged 1 commit into
Unity-Technologies:masterfrom
ITR13:minor-fix
Oct 2, 2023
Merged

Fixed missing flag in HelloCube#270
BrianWill-Unity merged 1 commit into
Unity-Technologies:masterfrom
ITR13:minor-fix

Conversation

@ITR13

@ITR13 ITR13 commented Aug 21, 2023

Copy link
Copy Markdown
Contributor

Fixed "NonUniformScale" flag missing from GetEntity call in RotationSpeedAuthoring for the HelloCube tutorial.

The example runs without it due to the cube in the example scene being non-uniform and therefore gaining PostTransformMatrix, but will cause hard-to-debug issues for anyone recreating the code in the tutorial.

Fixed "NonUniformScale" flag missing from GetEntity call in RotationSpeedAuthoring for the HelloCube tutorial.

The example runs without it due to the cube in the example scene being non-uniform and therefore gaining PostTransformMatrix, but will cause hard-to-debug issues for anyone recreating the code in the tutorial.
@BrianWill-Unity

Copy link
Copy Markdown
Contributor

If you modify the transform in the editor, baking should add PostTransformMatrix, but I suppose it can be a problem if you set scale at runtime.

@BrianWill-Unity BrianWill-Unity merged commit 119dbe9 into Unity-Technologies:master Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants