Obstacle Course Toolkit

We created a special window to help manage all the special prefabs and programs in the project. Here's what you can do in each section:

Checkpoints

Checkpoint Prefabs

You can set all the prefabs you would like to use for your start gate, checkpoints and finish gate here. They can then be easily placed into your scene: Add Checkpoints.

Checkpoints In Scene

Select one of these to zoom to the selected checkpoint in Scene View. You can re-order the checkpoints (which will rename them as well) and delete them. Changes made here will properly update the variables on the CourseManager.

Player Manager

Player Object Prefab

Change this object if you make your own Player Object, which holds the PlayerData program and follows each local player around. Most creators won't need to do this.

Number of Players

Change this number to generate the right number of Player Objects and automatically populate the ObjectPool.

Score Manager

Score Object Prefab

Change this object if you make your own ScoreField, which will display the player scores as they finish a run.

Number of Scores to Show

Change this number to generate the right number of Score Fields and populate the ScoreManager references to them.

Power Ups

Power Up Prefabs

You can set all the prefabs you would like to use for your Power Ups here. They can then be easily placed into your scene (link to powerUp placement) and automatically wired up.

Power Ups In Scene

Select one of these to zoom to the selected Power Up in Scene View. You can change the effects they will have on Speed and Jump for the player, as well as how long those effects will last after they touch the pickup.

Defaults

Here is where you set the Move and Jump speeds instead of on the VRCWorld object. Walk, Run and Strafe are all set to the same speed by default, and they're modified together when the player touches Power Ups.


Did this page help you?