EditorXR icon indicating copy to clipboard operation
EditorXR copied to clipboard

Change ray length (or hide), when using tool that creates content at specific offset/distance.

Open dunity opened this issue 8 years ago • 4 comments

When using a tool that creates/places content in the scene (consider the create cube tool), the ray length should represent the world position (offset from input device) at which the content will created. In other cases, with tools whose interaction doesn't result in the ray having any applicable value, the ray should be hidden. When moving back to a tool in which the ray visuals do apply to interaction (the select tool, or blink, etc), the ray should then again be shown.

The ray should still extend itself automatically in necessary cases; such as hovering over a manipulator handle.

This only applies to the ray, not the cone used for direct selection.

dunity avatar Aug 16 '17 00:08 dunity

makes sense to me. Should we make the ray length user-settable, you think, or just let the tool set it ? Also, we should make sure this doesn't affect any other interactions you may do while the tool is enabled - for instance, menu / inspector interactions

stella3d avatar Aug 16 '17 00:08 stella3d

This could be something we add to the "visibility settings" I set up in my Menu Hide PR.

mtschoen avatar Aug 16 '17 00:08 mtschoen

Menu Hide PR, the one PR to solve all problems

stella3d avatar Aug 16 '17 00:08 stella3d

@stella3d I'd go with allowing the Tools to define the length. Some tools will need to change this length dynamically, or at specific times/states.

dunity avatar Aug 16 '17 00:08 dunity