When furniture is rotated to 90 degrees pitch, the game incorrectly reports the rotation of the furniture. The yaw reported has the inverse sign of the actual yaw. This affects both the API and the server-processed movement using the cursor.
To reproduce:
1. Go into a house and place a piece of furniture. Preferably in the air with lots of space about it so that it is easy to observe.
2. In furniture selection mode, move your cursor so the furniture is highlighted
3. To get the ID of the furniture, run /script HousingEditorSelectTargettedFurniture();bug20180210wetwired=HousingEditorGetSelectedFurnitureId();HousingEditorRequestSelectedPlacement();
4. To set the furniture in the example orientation, run /script local p,w,r=math.pi/2,math.pi/2,0;d(p,w,r);HousingEditorRequestChangeOrientation(bug20180210wetwired,p,w,r);
5. Note the angle that was requested is also output in the chat window.
6. To inquire what orientation the furniture was actually placed in, run /script d(HousingEditorGetFurnitureOrientation(bug20180210wetwired));
7. Note that the reported angle does not match the requested angle. In reality, the furniture was placed correctly; the report is wrong.
8. Click the furniture to pick it up.
9. Click the furniture to place it.
10. Note that the furniture changed orientation from the preview when you performed step 9
11. Click the furniture to pick it up.
12. Click the furniture to place it.
13. Note that the furniture changed orientation again