🔏
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
  • Basics of swapping Controller
  • How to disable movement?

Was this helpful?

  1. Support

Using a different character controller

PreviousAdding a Trigger EventNextPatch Notes - V1.5

Last updated 2 years ago

Was this helpful?

Basics of swapping Controller

Yes , you can - but you will need to setup the child objects in the same way as the one you see below or as the example in the demo scene:

How to disable movement?

The "AKDisableManager" script has a reference to the player character on this example:

using UnityStandardAssets.Characters.FirstPerson;

[SerializeField] private FirstPersonController player;

public void DisablePlayer(bool disable)
        {
            if (disable)
            {
                AKUIManager.instance.isInteracting = true;
                crosshair.enabled = false;
                player.enabled = false;
            }
            else
            {
                AKUIManager.instance.isInteracting = false;
                crosshair.enabled = true;
                player.enabled = true;
            }
        }

You will want to edit the reference variable and the lines below to incorporate disabling your character movement and camera rotation:

//Reference your character controller here, unless your controller solution comes
//with a better solution
[SerializeField] private FirstPersonController player;

❓
Can I use a different Character Controller with this system?