Skip to content

TempleDAO/webaverse-weapon-test

 
 

Repository files navigation

sword

Swords are items that you can wield to do damage on objects and NPCs in the world.

.metaversefile Wearable

The .metaversefile goes in the directory with the GLB file in order to create the XRpackage.

{
  "name": "sword",
  "description": "Sword XRPackage",
  "start_url": "sword.glb",
  "components": [
    {
      "type": "wear",
      "position": [0, 0, 0]
    }
  ]
}

.metaversefile Wield

{
  "name": "saber",
  "description": "Saber XRPackage",
  "start_url": "index.js",
  "components": [
    {
      "type": "use",
      "subtype": "swing",
      "useAnimation": "slash"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages