Toolkit for building Three.js Apps for VIVERSE and beyond.
npm install @pmndrs/viverse``bash`
npm install three @react-three/fiber @react-three/viverse
| A prototype map with the SimpleCharacter class and its default model. | !render of the code below |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------- |
`tsx``
const world = new BvhPhysicsWorld()
world.addBody(ground.scene, false)
const character = new SimpleCharacter(camera, world, canvas, { model: { url: profile.activeAvatar?.vrmUrl } })
scene.add(character)
> Some familiarity with
> threej is recommended.
Get started with building games using @pmndrs/viverse vanilla three.js.