A framework for building virtuals worlds in a web application.
- Node.js
- Create a folder for your project
mkdir my-project
cd my-project- Install dependencies
VirtualBuilder :
npm install git+https://github.com/LD2Studio/virtualBuilder.gitVite :
npm install vite -D- Create a
index.htmlfile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="main.js" type="module"></script>
</head>
<body>
</body>
</html>- Create a
main.jsfile
import { app } from 'virtualbuilder'
app.init()- Run Vite
npx viteThat's it!
An asset is a virtual object made up of one or more rigid parts, which can be attached together by joints, in order to create complex objects which can be used in the virtual world.