Pets are custom rigged and animated glTF2.0 binary (.glb) files minted as NFTs and can be spawned from your inventory to follow your avatar around worlds. You can also feed them cryptoart too. Nom nom. Over time as pets get more advanced authors can publish new versions to the NFTs unlockable folder.
In order to mint a pet that walks around behind you, you need a rigged and animated glTF 3D model.
Walking pets have two animations, walk and idle. In Blender you can find these by:
- Opening the editor type, select Dope Sheet then Action Editor
- Browse the actions to see the names for the animations, keep note of the names
Next, export the file as a .glb from Blender. You don't have to change any export settings, keep the default ones.
Note: minting pets is currently disabled right now on the Webaverse.com frontend
Finally, drag and drop the .glb file of the pet into https://webaverse.com/mint and type in the type the names of the actions from step 2. You should see the pet start following you around in the preview area.
As mentioned you can also feed your pet. The food is, like everything else in the world, a NFT. The hotkey for throwing food is holding down the
For your pet to have this trait, you will need to customize the
manifest.json file with
eatSpeed, like such:
"description": "Dragon Pet XRPackage",
Flying pets work similarly as walking pets but instead of two animations (walk, idle) these types just loop one animation.
You need to note of this animation name for now. To find it in blender, see:
- The action name is located underneath
- You can also browse Dope Sheet -> Action Editor to see the name
Note: Minting flying pets is currently disabled on the Webaverse.com interface
Export the glTF model as a .glb then drag and drop it into https://webaverse.com/fly
The pet should now be following you around in the preview scene.