DigitalCarleton / Prairie

A Game Development Toolkit for Historians
59 stars 11 forks source link

Door Rotation Axis Picking #136

Closed cpimhoff closed 7 years ago

cpimhoff commented 7 years ago

In our brief demo this morning, it seemed the Swivel interaction didn't always select the correct pivot point (wrong axis).

It should pick the correct axis for pivot based on whether its width (length along x axis) or depth (length along z axis) is greater.