Making an Attachable Prop

From VR Wiki
Revision as of 00:47, 2 August 2022 by N3X15 (talk | contribs) (a)

ChilloutVR props are useful, but sometimes you want to attach them to your avatar for some reason. A simple example that this tutorial will use is a hat that one wants attached to your avatar's head.

Warning: CVR has just moved to Unity 2021, so your stuff may be broken. -- 11:24, 26 July 2023 (UTC)(Edit)


Prerequisites

  • Knowledge on how to manipulate GameObjects in the Scene Hierarchy
  • Knowledge on how to manipulate Components in a GameObject
  • Knowledge on how to make a basic prop.

Creating a Simple Attachable Prop

  1. Make a simple cube primitive in the scene. This will be our hat.
  2. Make the cube a prop.
  3. Add a CVR Attachment component to the cube.
  4. Set the Attachment Type to Bone.
  5. Set Bone Type to Head.

You're done!