Stride: Keyboard input demo the blue pot stuck at Y 90 degrees

Created on 14 May 2020  路  5Comments  路  Source: stride3d/stride

Release Type: Official Release

Version: 4.0.0.1-beta02-0926

Platform(s): Windows

Describe the bug
C# beginner project in keyboard input demo when I press 1 to rotate a blue pot, it'll always end up stuck at rotation Y = 90

To Reproduce
Steps to reproduce the behavior:

  1. Create a new C# Beginner project
  2. Run the project
  3. Go to keyboard input demo and press 1, wait until blue pot rotated for ~90 degrees and it'll be stuck at that angle

Expected behavior
The blue pot should be rotated past 90 degrees just like yellow and green pots

Screenshots
Capture

Additional context
The other 2 pots use
```c#
PotEntity.Transform.Rotation *= Quaternion.RotationY(value)

instead of 

PotEntity.Transform.RotationEulerXYZ += new Vector3(0, value, 0)
```

area-Samples bug good first issue help wanted

Most helpful comment

Maybe that's the point, i.e. to illustrate what doesn't work 馃槣

If not, it could be done this way. I think it is good to show common mistakes.
@Aggror any thoughts?

All 5 comments

Maybe that's the point, i.e. to illustrate what doesn't work 馃槣

If not, it could be done this way. I think it is good to show common mistakes.
@Aggror any thoughts?

How can I assign myself to this issue? I'll just change that line of code and create PR

@aunpyz Thanks for looking into it!
Maybe, let's wait for @Aggror answer to make sure it wasn't done on purpose?

I jokingly said it could have been on purpose. But even if so, we should have the correct line commented out below the incorrect line.
And maybe add another comment explaining why it doesn't work (or an accompanying readme.md).

It wasn't done on purpose so feel free to update it! Be sure to run the game to see if things still work and that the teapot doesn't rotate too fast.
:)

Was this page helpful?
0 / 5 - 0 ratings