Al-Andrew / SmartHouse-Builder

MIT License
6 stars 25 forks source link

[SHB] More intuitive transformations #207

Open Al-Andrew opened 2 years ago

Al-Andrew commented 2 years ago

We should make the gizmo transformations bee a little bit more intuitive.

At the moment the four corner drag-rectangles offset the rotation of the gizmo by the y-delta of the drag. we should change it to be based on the angle to mouse. The top and bottom drag-rectangles both use the negative of the y-delta of the drag. the bottom one should use the positive. The left and right drag-rectangles both use the negative of the x-delta of the drag. the right one should use the positive.

ndrey12 commented 2 years ago

Done 2,3