felixmariotto / three-mesh-ui

⏹ Make VR user interfaces for Three.js
https://felixmariotto.github.io/three-mesh-ui/#basic_setup
MIT License
1.3k stars 138 forks source link

Creating example of how to scroll with a VR controller #24

Open felixmariotto opened 4 years ago

felixmariotto commented 4 years ago

Now that hidden overflow is available, it should be possible to scroll the content of a Block if it's overflowing.

This must be done while keeping the library controller-agnostic. Some API can be added to components if necessary to help with positioning a Block inside a Block, or getting a X / Y offset, but no mention to controllers must be done in the core.

eviltik commented 2 years ago

what's the status of this ?

more spec ideas ?

swingingtom commented 2 years ago

Im going to start 7.x.x and impulse examples components ASAP but I currently have no intents or visions about scrollbar or scroll container.

You are welcome to PR a sample of scroll component to be part of the 7.x.x, or just discussing and giving ideas could also lead to more clarity on how to handle this.

Some great scroll have been done upon #62 but no samples available

eviltik commented 2 years ago

Just to be clear, the PR should come from a fork of the 7.X.X branch right ?

swingingtom commented 2 years ago

Not specially. The main goal is to propose a basis to discuss (and potentially refine) prior to be on 7.x.x

jimmy6DOF commented 2 years ago

Not to interject, but there is a current conversation on scroll related issues wrt UI Toolkit development in Unity. A very different system but some of the architecture considerations they discuss may overlap.

Unity Forum - Textfield Refactor

Yeisonlop10 commented 2 years ago

Hi guys. Just wanted to ask if there is any news on this feature. Thank you for the amazing work.

swingingtom commented 2 years ago

Hi @Yeisonlop10, Unfortunately no news on this.

A previous discussion was started in https://github.com/felixmariotto/three-mesh-ui/issues/62#issuecomment-802976733

Im finishing border radiuses and sides #206, Then I would start on interactive components. If someone is up, as soon as Raycaster is ready, I would initiate a ScrollSetup that one would implement.