Game Kit Controller
  • Welcome
  • Quick Start
    • 🛣️Roadmap
    • ⭐Getting Started
      • Importing GKC
      • (Optional) Download External Files
    • 🎓Tutorials
      • 🔑Tips, Tricks and Hotkeys
      • Manually Add Axes in the Input Manager
      • Manually Add Tags and Layers
      • Tutorial - Create a New Character
      • Tutorial - Create a New Character with the Manual Creator
      • Tutorial - Create a Generic Character
      • Tutorial - Set the Default Weapons in a New Character
      • Tutorial - Create New Melee Weapon
      • Tutorial: Set Initial Melee Weapons on Player & AI
      • Tutorial - Adjust Weapons Quick Draw Weapon Action
      • Adjusting Player's Upper Body for Weapons
      • Fixing Player Spine Rotation
      • Tutorial - Add Action System By Input
      • Tutorial - Configure Local Multiplayer
      • Configure the Switch Character Companion
      • Configure the Main Mission Manager
      • Configure the Main Scene Manager
      • Using the Save System for Elements State on Scene
      • Tutorial - Configure the Drive System on an External Vehicle Controller
      • Setting up a New Skill System
      • Tutorial - Configuring Melee Weapon Attacks
      • Tutorial - Create Objects to Grab and Carry Physically
      • Tutorial - Create a new Melee Attack
      • Tutorial - Changing Player Movement Animations
    • ⁉️FAQ
  • Major Systems
    • ⚡Main Manager Administrator
    • 🏃‍♂️Traversal Movements
      • Climbing
      • Rail Sliding
      • Wall Running
    • 📥Inventory System
      • Adding a New Inventory Object
      • Create a new Inventory Prefab
      • Check the Use Inventory Object works correctly
      • Use Inventory Objects
      • Create Inventory Icon
      • Assign New Inventory Objects to the Player
    • ⚔️Weapon Systems
      • Dual Wielding Weapons
      • Tutorial - Configuring Melee Weapon Attacks on a Weapon
      • Tutorial - Create New Melee Weapon
      • Tutorial - Adjust the Fire Weapons Main Position
    • 👕Armor/Clothe System
      • Tutorial - Configure Armor-Clothe for New Model
      • Tutorial - Adding A New Piece To An Existing Armor-Cloth Set
    • ⛺Event Trigger System
      • Setting Up the Event Trigger System
    • 👊Action System
      • Action System Component
      • Tutorial - Add Action System By Input
      • Tutorial: Create Objects to Grab & Carry Physically
    • 🏂Abilities & Skills Systems
      • Skill Systems
        • Player Skill System Component
        • Player Skills UI System Component
        • Tutorial - Setting Up a New Skill System
      • Ability Systems
        • Player Abilities System Component
        • Custom Ability Component
        • Activating an Ability by Key Combo
        • Tutorial - How to set Default Abilities
        • Tutorial - Create a Custom Ability
        • Tutorial - Create a new Melee Attack
        • Tutorial - Configuring Melee Weapon Attacks
    • 💬Dialogue System
      • Configure the Main Dialog Manager
    • 🏴‍☠️Faction System
    • 🗺️Map System
      • Map Creator Component
      • Setting Up the Map System
      • Creating a new Map Creator and adding Map Parts
      • Add Name Mesh for the Floor
      • Manage Multiple Floors
      • Duplicate Map Part
      • Delete Map Parts and Floors
      • Change between Floors with Triggers
      • Add Triggers for Hidden Map Parts
      • Enable and Disable Certain Parts of the Map
      • Show a Hidden Map Part With Another Color Until Visible
      • Use Map Object Information
      • Configure Map object information Icons
      • Configure Map Pickup to Unlock Map Parts or Floors
      • Map Object Information Linked to a Map Part
      • Render Terrain in the Map Window
      • Assign the Created Floors to the Map System
    • ❗Objective System
      • Main Objective Manager
      • Configure a Mission to Start in one Scene and Finish in Another
      • Configure a Mission to Eliminate Multiple Targets
    • 🚥Player Control Mode
      • Weapons
      • Powers
    • 🌪️Combination System
      • Rifle Sword Example
      • Combat
    • ⌛Time Manipulation
      • Bullet Time (Max Payne Style)
      • Slow Motion (Matrix Style)
    • 🖥️HUD System
    • 🔨Toolbar System
    • 💾Save System
      • Save System for Elements State on Scene
    • 🏳️Localization/Language System
  • Top Level Components
    • 🎮Player and Game Management
      • 🖼️Tag Layer System
      • ⌨️Input Manager
        • First Steps and Basic Use
        • Add a New Touch Button
        • Check and Filter Input Actions
        • Configure Input on Vehicles
        • Configure Input Rebind Menu Panel and Actions
        • Add an Action to a New Script
        • Remove an Axe
        • Disable an Axe
        • Save/Load Currently Configured Axes
        • Manage Axes Save File
        • Touch Controller
        • Diable Touch Buttons on Start
        • Delete Disabled Touch Buttons
        • Assign a Touch Button to an Action
        • Scale Touch Button in the Inspector
        • Touch Joysticks
      • ☕Main Manager Adminstrator
      • 🖱️Mouse Cursor Controller
      • 🎲Game Manager
      • 🚶Player Characters Manager
      • Simple FPS Counter
      • Place Object in Camera Editor Position System
      • Set Game Object Active State
      • Set Initial Position At Game Start
  • Character Level Components
    • 🕺Character
      • Features Manager
      • Menu Pause
      • Build Player
      • Ragdoll Builder
      • Powers List Manager
      • Player HUD Manager
      • Map System Component
      • Show Game Info Hud
      • Save Game System
      • Camera Capture System
      • Weapon List Manager
      • Player Screen Objectives System
      • Console Mode
      • Player Health Bar Management System
      • Player Pickup Icon Manager
      • Player Damage On Screen Info System
      • Time Bullet
      • Player Tutorial System
      • Player Options Editor System
      • Vendor UI System
      • Dialog System
      • Objective Log System
      • Objective Station UI System
      • Travel Station UI System
      • Inventory Bank UI System
  • Player Controller Components
    • 🕹️Player Controller
      • Player Controller Component
      • Gravity System
      • Other Powers
      • Grab Objects
      • Health
      • Using Devices System
      • Close Combat System
      • Ragdoll Activator
      • Foot Step Manager
      • Pickups Screen Info
      • IK System
      • Player Weapons Manager
      • Inventory Manager
      • Damage Screen System and Damage In Screen
      • Friend List Manager
      • Upper Body Rotation System
      • Player States Manager
      • Head Track
      • Character Faction Manager
      • Player Input Manager
      • Player Navmesh System
      • Map Object Information
      • Hands On Surface IK System and IK Foot System
      • Climb Ledge System
      • Remote Event System Component
        • Setting Up a Remove Event
    • 📹Player Camera
      • Player Camera Component
      • Player Culling System
      • Set Transparent Surfaces
    • 💯Essential Components
      • AI Behaviors
      • Damage Hit Reactions System
      • Dash System
      • Inventory Camera Position and Map Elements
      • Experience-Level-Stat Systems
        • Player Experience System Component
        • Player Stats System Component
        • Player Skill System Component
          • Tutorial - Setting up a New Skill System
        • Player Skills UI System Component
      • Inventory Categories List Manager
      • Melee Combat System
      • Inventory Menu Panels System
      • Inventory Quick Access Slots
      • Inventory Weight Manager
      • Inventory Armor-Cloth Customization System
      • Player Abilities System Component
      • Player Action System Component
      • Player Info Panel On Screen System
      • Player Input Panels
      • Player State System
      • Match Player To Target System
      • Slow Down Time On Perfect Dodge
      • Save Info Elements List
      • Custom Character Controller Manager
      • Player Navmesh System
      • Elements On Scene System
    • 💼Non Essential Components
      • Ability Activated By Key Combination (R G)
      • Bullet Time Firing System (Max Payne Style)
      • Climb Ledge System
      • Currency System
      • Condition System
      • Console Log On Screen
      • Flashlight
      • Hands On Surface IK System
      • IK Foot System
      • Magic System
      • Laser Dot On Screen Manager
      • Oxygen System
      • Simple Sniper Sight Manager
      • Roll On Landing System
      • Photo Mode System
      • External Controller Behaviors
      • Gravity Wall Run Ability
      • Check If Carrying Weapons To Set Close Combat
    • 📲Elements Used By Other Components
      • Body Mount Points System
      • Damage On Screen Info System
      • Damage In Screen
      • Double Check To Disable Fire Damage On Roll
      • Free Fall Activator
      • Fire Damage
      • Ladder System
      • Inventory Camera Position
      • Map Elements
      • Projectiles On Body Manager
      • Pickups Info On Screen System
      • Player Idle System States
      • Remote Player Navmesh Override
      • Scanner System
      • Sprite Animator System
      • Shield System
      • Stamina System
      • Temporal Parent For Weapons
      • Throw Grenade From Inventory
      • Transform to Follow
      • Touch Screen Pinch System
      • Weapons Attachment UI Manager
      • Vehicles Mode Control
      • Show Values On Screen System
      • AI Mount Manager
      • Game Language Selector
      • Possession Override Objects System
      • Slider Info System
      • Actitvate Action On Characters On Scene
      • Graphic Quality Settings System
  • Additional Managers
    • 🧞‍♂️Prefabs Manager
      • Main Settings
      • Prefab Type List
      • Prefabs To Place On Scene List
      • Prefabs Searcher Options
    • 💰Main Inventory Manager (Inventory, Bank and Vendor)
      • Inventory List Manager
    • 🕳️Decal Manager
    • 🛻Pickup Manager
    • 👈Screen Objectives Manager
    • ❤️Health Bar Manager
    • 🤝External Shake List Manager
    • 🏴‍☠️Faction System Manager
    • 🎵Songs Manager
    • 🥏Noise Mesh Manager
    • 👻Set Transparent Surfaces Manager
    • 👿Damage On Screen Info Manager
    • ‼️Main Objective Manager
    • 💬Main Dialog Manager
      • Configure the Main Dialog Manager
    • 🔕Disable Objects On Distance System
    • 🎡Elements On Scene Manager
  • 🤖A.I System
    • AI Settings
    • AI Target Detection and Management
    • AI Attack Mode
    • AI Navigation
    • AI Patrol State
      • Tutorial - Configure Random Walk Movement on Attack Mode and Target Spotted on A.I
    • AI Melee System
    • AI Close Combat System
    • AI Abilities
  • Integrations
    • ➕Current Integrations
      • Emerald AI
      • Universal AI
      • Animal Controller
      • SoulLink Spawner
      • Easy Build System (EBS)
      • Randomation Vehicle Physics
      • Edy’s Vehicle System
      • Space Combat Kit
      • Mech Combat Kit
      • NWH Vehicle Physics 2
      • Dynamic Water Physics
      • Honor AI
      • UMA 2
      • DestroyIt
      • Silantro Flight Simulator Toolkit
      • Dialogue System for Unity
      • Interactor
      • iStep
    • 🔧Upcoming/In Progress
      • Ability & Combat Toolkit
      • Ork 3 Framework
  • Annex
    • 📖Changelog
      • GKC Update 3.03-3A
      • GKC Update 3.03-2
      • GKC Update 3.03-1
      • GKC Update 3.02g (Final)
      • GKC Update 3.02f
    • ‼️Possible Issues and Fixes
  • Support
  • Discord
  • Forum
  • Patreon
Powered by GitBook
On this page
  • What is Animal Controller?
  • Video Tutorial
  • Written Tutorial
  • Modify Malbers Input
  • Configure GKC Rider System
  • Configure Electron Device Component

Was this helpful?

Export as PDF
  1. Integrations
  2. Current Integrations

Animal Controller

This page covers the integration of Animal Controller from Malbers

PreviousUniversal AINextSoulLink Spawner

Last updated 2 years ago

Was this helpful?

What is Animal Controller?

Animal Controller(AC) is an animation framework controller, root-motion or In Place, for any creature or HUMANOID character.

AC is the base controller for all my Assets, but you can use it on any other asset in the Store.

It was built from the ground up with over 3 years of experience to make all my assets shine even more with a smooth and modular controller.

AC is based on States and Modes. States like Locomotion, Idle, Jump, Fall, Fly, Swim.. and Modes Like Main Attacks, Secondary Attacks, Hits, Actions, etc.

States are the Animations that contain certain Logic and they cannot overlap each other (Ex: You cannot swim and fly at the same time)

Modes are the Animations that be used while a state Animation is playing (Ex: Attack while flying or Running).

Video Tutorial

Written Tutorial

Open the first demo scene (in this example it's Unka the Dragon) and drop the GKC Player in the scene along with the Rider System Object. You can drop this object inside the Malbers animal, and reset its transform value.

Modify Malbers Input

Next, we need to modify the Malbers Input component with some custom code.

Copy the code below to have a function that allows you to Pause/Resume the input of the Animal Controller.

if (inputPaused)
 {
 horizontal = 0;
 vertical = 0;
 upDown = 0;

 RawInputAxis = Vector3.zero;

 return;
}

This first part is pasted inside the SetInput function at the very top of the script, it starts at line 70.

The second code part, below, is pasted directly at the end of the SetInput function.

public bool inputPaused = true;

public void setInputPausedState(bool state)
{
 inputPaused = state;
}

Configure GKC Rider System

On the GKC rider system, configure the option to use events on start, calling to that function, so the input of the animal is paused from start.

Create an empty game object inside the CM Brain of the animal and name it Main Camera Position. Disable the Camera and Audio Listener components of that camera. In the Rider Seat System prefab, under the Move Camera to Devices component, drag and drop the Main Camera Position game object you created in the CM Brain to the Camera Position slot.

Configure Electron Device Component

On the Electronic Device component, we'll configure the Pause/Resume events for the animal. Scroll down to the section, Start/Stop Using Device Settings, and assign your Malbers animal and Look At as in the photo below. Setting setInputPausedState and LookAt in their respective states is needed.

On Event on Start Using Device () MalbersInput.setInputPausedState should be unchecked. That means the animal is not paused on Start. LookAt.enabled is checked as that lets the Animal Controller look at targets as usual.

In Use Event on Stop Using Device, the opposites are selected so that the Animal is Paused on stop and LookAt is disabled. Additionally assign the Animal twice, selected MalbersInput.enabled. Checking one, and unchecking the other.

That's it! You're ready to ride!

You can find more information about Animal Controller, and its documentation and also purchase it over on the .

After that you can customize the interaction panel text transform along the Ride positions and IK elements (check the tutorial for tutorial for more info) in the Rider Seat System prefab.

➕
Unity Asset Store
Edy's Vehicle System
Before code insert
After code insert
Before second code insert
After second code insert