Does BabylonJS offer anything similar to the IFocusable control for non-gui 3d objects? I am researching solutions for accessible keyboard interaction in our WebGL application which utilizes a combination of 2D HTML overlay UIs, in scene GUI components, and in scene interactable 3d objects.
One goal is to ensure that all primary functions triggered by user interactions in the application can be triggered by a keyboard only user. We have many interactions that currently require either mouse or touch input on the canvas element, but need a keyboard alternative.
For a simple example, in one of educational interactives, we may display a few 3D models at the same time for comparison. Using the mouse/touch, the user can select one of the model (mesh) and move it along the y axis in the scene. An accessible version of this simplified example would allow the user to ‘tab’ through the focusable elements until they have focused on the model they want to interact with. The model would of course have some sort of visual style to indicate that it is focused. The user could then press ‘enter’ or maybe ‘space’ on the keyboard to put that object into a selected state in which the user could use the arrow keys on the keyboard to move the model along the y axis in the scene.
Is there an interface or existing functionality in Babylon to create and manage this type of behavior? If not, could anyone offer ideas or insight into what an implementation of this functionality may look like in BabylonJS?