Ground Objects
A solution to quickly ground objects onto a 3D set is needed
Main idea: Ground Object during transforms when an alternative key is pressed
Note: maybe, instead of moving down keep distance to ground when initializing transform ?
Other possible solution: Add a dedicated ground tool if too complicated to mix with other transforms.
Reflecting more on this, more than a direct "ground" option, Moving modal operators should have at least the options to "keep current altitude from ground".
Grounding can be done once manually or with a one time operator, but keeping it at previous height seems more important, since camera view is almost never truly aligned with ground (When using depth move for example).
2 possibilities here:
- Detect element directly below and keep distance
- Consider a virtual floor represented by a horizontal plane relative to camera orientation coupled with a track Up. this may not work as intended if the camera shoots an overly vertical action or is rotated too much compared to world's Up. but can be useful in most cases)
Both options might be needed, with an in-modal shortcut toggle, but it would be preferable to have fewer options for user’s sake.
Added Alt modifier to lock Z axis on object moving operators https://github.com/Pullusb/storytools/commit/3d3c8263d72b1d7bd1dd892f4a0c7b7e562f10c2