Describe the bug:
The position, rotation and scale shown in the editor can be wrong, leading to unexpected results.
How do you cause this bug?
- List the steps
- Create an entity and make sure its (relative) position and rotation is 0,0,0. Make sure your grid snap is set to 1 (for moving) and 45 deg (for rotating).
For Position:
1.Move an entity to position x =12, y=0, z=0. (disable grid snap to do that)
2.Enable grid snap.
3.Hold down the mouse button on the x arrow, which will snap the entity to position x=0, y=0, z=0 and release the mouse button without moving it.
Now you have an entity with a buggy position (visually at 0,0,0 but internally still at 12,0,0). The next time it is moved or rotated (or when previewing), it will apply the position from the properties, which is different from the visual position.
For Rotation:
1.Rotate an entity to rotation pitch =22, yaw =0, roll =0 while holding left shift (to disable grid snap), but don’t release the primary mouse button.
2.Release shift first and afterwards release the primary mouse button without moving the cursor inbetween.
Now you have an entity with a buggy rotation (visually at 0,0,0 but internally still at 22,0,0). The next time it is moved or rotated (or when previewing), it will apply the position from the properties, which is different from the visual position.
For Scale:
- I have no clue how to replicate this one yet, but there definitely is a bug like that for scale too.
Screenshots / video of bug:
Position:
Rotation:
Which platform: PC
Which input: keyboard + mouse
Your Crayta username: Daigoro