-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the MetaMole wiki! This wiki will teach you how to start creating (very basic) projects for the Meta2.
-
To start working with Meta, begin by installing the SDK (download here). Once the installation has finished, you should have access to a folder named Meta. In the folder you should find another folder called Meta SDK2 Beta (or something similar) --> Unity --> Meta.unitypackage.
-
Open your Unity project and go to Assets --> Import Package --> Custom Package. Find the Meta.unitypackage file and import it.
-
You should see a MetaSDK folder in your Assets folder. Go to MetaSDK --> Meta --> Resources --> Prefabs and drag the MetaCameraRig prefab into the hierarchy.
-
Delete the Main Camera since MetaCameraRig will replace it.
-
If you press Play, you should be able to see the outside world (but not much else).
-
In MetaSDK --> Meta --> Resources --> Prefabs, find the MetaHands prefab and add it to the scene.
-
Add a 3D object you want to interact with to the scene.
-
Depending on the kind of interaction you want to have with the object, you might need to add different components to the object:
- Grabbing and Moving: Make sure the object has a Mesh Renderer and a Collider - interaction will automatically be enabled then.
- Grabbing and Scaling: Add a Two Hand Grab Scale Interaction script to the object.
- Grabbing and Rotating: Add a Two Hand Grab Rotate Interaction script to the object.