Series of experiments dedicated to hand presence with the main goal of exploring user interaction.
This first experiment was all about designing the lever and coding its behaviour.
Prototype details on Twitter
Then I kept coding the lever's functionalities to make the custom component modular so that it could be attached to different levers, allowing the user to apply different types of transformation to any object in the scene.
Prototype details on Twitter
Once I made the component modular, I moved on to designing and coding the mechanics for another type of lever, which behaves like a switch and makes it possible to control and modify any object in the scene using boolean values.
Prototype details on Twitter
After that, I further modified the "switch" lever's code to create another type of lever.
This design makes it possible to trigger one-shot actions by either emitting custom events or directly modifying the component properties of any object in the scene.
Prototype details on Twitter
Check out my Cannon Turret project to see a practical implementation of this experiment.
Check out my other WebXR experiments: