scroll

Objects turn as the page scrolls past the scene, and face front when the scene is in the middle of the screen.

Usage

Set interaction="scroll" on the scene. Interactions are scene rules: they work on every object inside, whatever its type. Several run in the order written.

Options

AttributeTypeDefaultRangeDescription
scroll-turnsnumber1-3 to 3Turns while the scene crosses the screen

License

MIT. Use it anywhere, credit appreciated.