Making a Prop in ChilloutVR

From VR Wiki
Revision as of 00:02, 2 August 2022 by N3X15 (talk | contribs) (Created page with "A prop is a useful thing in ChilloutVR, as one can spawn them independent of an avatar, and have them activate triggers based on inputs or collisions. Here's how to start working on one. == Prerequisites == * Unity 2019.4.31f1 * ABI CCK >= 3.3 * Knowledge of how to import unitypackages, models, animations, and materials into a Unity project == Setting up the Project == # Create a Unity 2019.4.31f1 project. # Import the ABI CCK. # Import your prop and set it up l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A prop is a useful thing in ChilloutVR, as one can spawn them independent of an avatar, and have them activate triggers based on inputs or collisions.

Here's how to start working on one.

Prerequisites

  • Unity 2019.4.31f1
  • ABI CCK >= 3.3
  • Knowledge of how to import unitypackages, models, animations, and materials into a Unity project

Setting up the Project

  1. Create a Unity 2019.4.31f1 project.
  2. Import the ABI CCK.
  3. Import your prop and set it up like you would wish it to appear in-game.
  4. Make sure the prop is at origin (position 0,0,0, rotation 0,0,0, facing +z (along the blue axis of the position gizmo))

Adding CVR Prop Components

  1. Select the root of your prop.
  2. In the Inspector, click on Add Component.
  3. Select CVR Spawnable.
  4. Adjust the properties as desired.
    1. Spawn Height is how high off the ground you wish the prop to spawn.
    2. Prop Usage lets you set who is able to grab the prop.