VR HTML for scroll/mouse interaction.

Started by Daniellance, June 27, 2016, 03:41:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daniellance

I am looking for a way to start an interaction with a VR render based on scroll.

Example:
The render of the box opens and closes.
I want the box to open as the user scrolls down the webpage.
E.g. no grab interaction for the user.

This would have to start only when the object becomes visible or else the movement of the box would be missed or I wouldn't be able to preload the render to speed things up.

I have played around with the HTML a little but the grab interaction within the iframe is a little new to me. Little help would be great:)


Josh3D

Hi, it may be possible for you to channel scroll events into drag events to the iframe, by sending drag events to the VR iframe when a user scrolls. There's not straightforward option to do that straight from KeyShot though.

Daniellance

@Josh Mings Thanks for the reply! Any idea what the code would look like?