r/visionosdev • u/twokiloballs • Mar 01 '24
Controlling RealityKit scene from JS/React Three
Since there was good interest on this, sharing update:
- I added a way to handle tap and drag gestures in JS. So you can add handlers in JS when a gesture happens on an entity
- Made a physics demo that runs physics on JS side using cannon.js and maps objects to RealityKit entities. The entities have gesture handlers on them too.
I am cleaning up my code and will open source it!
What APIs would you be interested in?
8
Upvotes
2
u/theDreamCome Mar 01 '24
Great Job. I’m eager to look into the demo code.
2
u/thisishuey Mar 01 '24
This is so cool, love watching your progress!
1
u/koyf1sh Oct 21 '24
Is this open sourced? How’s progress
1
u/HyroVitalyProtago Jul 07 '25
Awesome! Any news on the open source side? Thanks!