Skip to content

VatomInc/vatom-spaces-rapier-physics

Repository files navigation

Rapier Physics 🔌


Rapier Physics for Vatom Spaces

This plugin is designed to be used from within Vatom Spaces. It provides synchronized physics simulation across the space, using the Rapier physics library.

Building the plugin

  • Ensure you have Node.js installed.
  • Install dependencies: npm install
  • Build the plugin: npm run build

Developing locally

  • Start the dev server: npm start
  • Load the plugin in your space. Select Plugins, press the (+) icon and then paste the address: http://localhost:9000/plugin.js
  • After making code changes, refresh the page

Note: You can only sideload plugins in a space you are the owner of.

Publishing the plugin

  • Run: npm run publish

About

Synchronized physics simulation plugin for Vatom Spaces

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published