🔏
APK - Doc - V1.5
  • Adventure Kit - V1.5
  • ⭐Getting Started
    • Main Setup
    • Managers Setup
      • Step 1 - Canvas Container
      • Step 2 - FPSController
      • Step 2.5 - Audio Manager
        • Audio Reference List
      • Step 3 - UI Manager
      • Step 4 - Input Manager
      • Step 5 - Disable Manager
    • Puzzles Setup
      • Chess Puzzle Sys - Setup
      • Letter & Note Sys - Setup
      • Lever Puzzle Sys - Setup
      • Themed Key Sys - Setup
      • Gas Mask Sys - Setup
      • Flashlight Sys - Setup
      • Generator Sys - Setup
      • Fuse Box Sys - Setup
      • Examine Sys - Setup
      • Padlock Sys - Setup
      • Keypad Sys - Setup
      • Phone Sys - Setup
      • Safe Sys - Setup
    • Interaction Options
  • URP / HDRP SETUP
    • URP/HDRP Setup
  • ❓Support
    • FAQ
    • System Namespace
    • Adding a Trigger Event
    • Using a different character controller
  • 🌀Development
    • Patch Notes - V1.5
    • Legacy Videos
  • 📧Contact Me
    • Request a feature
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • Adding the FPSController
  • Main Camera Setup

Was this helpful?

  1. Getting Started
  2. Managers Setup

Step 2 - FPSController

PreviousStep 1 - Canvas ContainerNextStep 2.5 - Audio Manager

Last updated 4 years ago

Was this helpful?

Adding the FPSController

Make sure to give the FPSController main prefab a tag of "Player" - It can be created in the tags dropdown at the top of the inspector if not!

When you add an FPSController it should have several items parented, see below:

  • Empty Parent as a container with:

  • FlashlightSwing

    • Flashlight_Spot

  • FPSController

    • MainCamera

      • ExamineCamera

      • Padlocks

Main Camera Setup

Make sure this has a tag of "MainCamera"

  1. Make sure your main camera has a "AdventureKitRaycast" Script

  2. A "Vignette and Chromatic Abberation" script

  3. A "Blur Optimized" script

Raylength

The distance the raycast can travel to an object, the lower the close you have to be to interact with an object

Layer Mask Interact

This needs to be set to "Interact" and can be created in the top right corner of the inspector by clicking the "Layer" dropdown

Layer To Exclude

You can add any other layer you wise to stop the raycast moving through, so you create a layer called "Walls" and add that layer but "EVERYTHING" is default

UI Crosshair

Add the "CrosshairUI" from the "Crosshair_Canvas" object in the "AK_Canvas_Container"

⭐
FPSContainer Setup
The entire MainCamera on the FPSController