Animal Controller
📥 Integrations📑 Changelog✅Social
  • 🤝Welcome to Malbers Animations Assets
  • 🌐Discover all my Assets
  • 💫What's New
  • 🌀Upcoming assets
  • 📋Changelog
  • ↗️Upcoming Changelog
  • 🛣️Road Map
  • ✍️End User Licence Agreement
  • 🌟Features
  • Improve Performance Tricks
  • 😓Know Limitations so far
  • 📥Downloads
  • QuickStart
    • 📖Guide to use All Malbers Assets with (AC)
    • 🔼Upgrade to URP
    • 🔼Upgrade to HDRP
    • 💔Common Issues
    • 🔔Tips and Tricks
  • Guides and Tutorials
  • 📺YouTube Tutorials
    • 📺Video Tutorials (On Queue)
  • 📱Mobile Setup Guide
    • Mobile Joystick
  • 🧐How to: Animal Controller
    • 🔹Play a Mode while Moving
    • 🔹Create and configure a new mode
    • 🔊Adding Sound Effects
    • 🔹Rebone Mesh Tutorial (Skin Mesh is Missing)
    • 🔹Add Movement with Non RootMotion Animations
    • 🔹Fetch a ball
    • 🔹Set up Timeline
    • 🔹Make Animal flee when see the animal Player
    • 🔹Animal Controller for Humanoids
    • Create a Shootable Weapon From Scratch
    • ⚔️How to Fix weapons offset and values (Bow, Pistol)
    • ✨Add a Effect to the Effect Manager
    • 🕹️Connect Inputs to the Controller
    • Modify the controller with a Stat
    • Use the Modify Stat Component
    • 📡Use a MEvent and MEvent Listeners
    • 💎Change from Faceted to Smooth poly art Animals
    • ⁉️Listen when an Mode starts or ends
  • 🐎How to: Horse Animset Pro
    • 🐴Call the Mount
    • 🤠Change Meshes for the Rider
    • 🏇Make any animal mountable
  • 🕺Strafing
  • Main Components
    • 🐺MAnimal Controller
      • General
        • Pivots
      • Speeds
      • 🔷States
        • 🕴️Idle
        • 🏃‍♂️Locomotion
        • 🌠Fall
        • 🤾‍♀️Basic Jump
        • 🤾‍♂️Root Motion Jump
        • 🐟Swim
        • 🐊UnderWater
        • 🧗‍♂️Climb
        • 🧗‍♂️Ledge Grab
        • 🦅Fly
        • 🪂Glide
        • 🧗Wall Run
        • 🧗Wall Run Vertical
        • ⛷️Slide
        • ☠️Death
        • ☠️Death Ragdoll
        • 🆕Creating a new State
      • 🟩Modes
        • 🟩Mode Behavior
        • 🟩Mode Sequence
      • 🅾️Stances
      • Advanced
      • Animal Modifiers
      • Events
      • Debug
      • Animal Animator Behaviors
      • Methods and Properties
    • 🎮Malbers Input & MInput
      • Methods and Properties
    • 🤖AI
      • AI Animal Control
      • MWayPoint
      • Wander Area
      • AI Target
      • Animal Brain
        • AI States
        • Tasks
          • General - Chance
          • General - Empty
          • General - Invoke Event
          • General - Send Message
          • General - Play Audio
          • General - Quick Align
          • General - Reaction
          • General - Set Look At Aim
          • General - Set Stat
          • General - Wait
          • Animal - Set Speed
          • Animal - Play Mode
          • Animal - Set/Play State
          • Animal - Set Stance
          • Animal - Set Strafe
          • Movement - Move Stop
          • Movement - Patrol
          • Movement - Set Destination
          • Movement - Set Target
          • Variables - Set Var Listener
          • Weapons - Weapon Tasks
        • Decisions
          • General - AND
          • General - Check Stat
          • General - Compare Stats
          • General - Look
          • General - OR
          • General - Is Task Done?
          • General - Wait
          • Movement - Has Arrived
          • Movement - Check Target
          • Animal - Check Mode
          • Animal - Check Stance
          • Animal - Check State
          • Variables - Check Scriptable Variable
          • Variables - Check Transform Var
          • Variables - Check Var Listener
          • Runtime Set - Is Target in Runtime Set
      • 📌Point Click
    • 🧨Reactions
    • 📶Combo Manager
    • ⚔️Weapon Manager
      • 🛡️MWeapon [General] Properties
      • 🛡️MWeapon [Damage] Properties
      • 🛡️MWeapon [IK] Properties
      • ⚔️MMelee
      • 🔫MShooteable
      • 🏹Bow
    • 〰️Path Constraint
      • 〰️MPath
      • 〰️Path Link (Straight)
      • 〰️Path Link (Cinemachine Path)
      • 〰️Path Creator(Sebastian Lague)
    • Speed Ground Changer
  • Scriptable Architecture
    • 💠Scriptables
      • 🔹Bool Var
      • 🔹Int Var
      • 🔹Float Var
      • 🔹String Var
      • 🔹ValueToString
      • 🔢Variable Listeners & Comparers
      • 🔰IDs
      • 🎫Tags
      • 🪝Transform Hook
      • 📣MEvents
      • 📣MEvent Listener
      • 📦Runtime gameobjects
    • 🔤MLocal Variables
  • Secondary Components
    • ⚔️MDamager
      • 🐾MAttack Trigger
      • 🐾Attack Trigger Behavior
      • 🏉MProjectile
      • 🏹Projectile Thrower
      • 🤯MExplosion
    • 🤕MDamageable
    • 🧊Zones
      • Public Methods
    • ✊Pick Up - Drop
    • ✊Pickable
    • 🚩Respawner
    • 🚩Respawner NPC
    • 🚩Simple Respawner
    • 🏁CheckPoint
    • IK Manager
      • IK Processors
      • Weight Processors
  • Global Components
    • 🧡Stats
      • 🔸Stat Modifier
      • 🔸Modify Stat <Component>
      • 🔸Modify Stat <Asset>
      • 👨‍💻Public Methods
    • Animator Behaviours
      • Message Behaviour
      • Random Behaviour
      • Is Kinematic Behaviour
      • Sound Behaviour
      • Rigid Constraint Behaviour
    • 🟩Trigger Proxy
    • 🔌Interactable
    • ⚡Interactor
    • ⁉️Conditions
    • 🎥Free Look Camera
    • 🎥Cinemachine
    • UI
      • Unity Utils
  • Riding System (HAP)
    • Horse Animset Pro (HAP) Riding System
    • The Art of (HAP)
    • Mount
      • Methods and Properties
    • MRider
      • Methods and Properties
    • Mount Triggers
    • Mount Points
  • Utilities
    • Material Changer
    • Active Meshes
    • Effect Manager
    • Effect Behavior
    • Animator Event Sounds
    • Blend Shapes
      • Blend Shape Preset
    • Look At
    • 🏹Aim
    • 🎯Aim Target
    • 🎯Lock On Target
    • 🐾Steps Manager
    • 🐾Step Trigger
    • 🔗Mode Align
    • 🔗Aligner
    • Component Selector
    • MAnimalAnimatorSync
    • Multiple Time Checker
    • MAnimalAnimatorSync
  • Annex
    • 🗃️Integrations
      • General HAP Integration
      • Rewired
      • Invector Templates
        • Invector Weapon Settings
      • Animals Controller + Invector
      • Ootii's Motion Controller
      • Opsive Ultimate Character Controller (UCC 3.03)
      • Opsive Ultimate Character Controller (UCC 3.08) Generic
      • AStar Pathfinding
      • Unity Input System (NEW)
        • New Input Link [Old Versions]
      • Game Creator
      • Game Kit Controller
    • Contact
    • 🤔FAQ
    • Refund Policy
  • Games using Malbers Animations
  • Interfaces
    • IAITarget
    • IWayPoint
    • IAIControl
    • IAim
    • IAlign
    • IGravity
    • IInteractor
  • ULTIMATE SELECTOR
    • Overview
    • Selector Manager
    • Selector Editor
    • Selector Controller
    • Selector Item
    • Selector UI
    • Selector Data
    • Changelog (Selector)
  • 🎒Malbers Inventory Add-On
    • Overview
      • Compatibility Matrix
      • Roadmap
      • Update Notes
  • Updating from v1.1.1 to v1.2 Instructions
  • Basic Setup Instructions
    • Creating a new Item
      • Adding Buffs/Debuffs to Items
      • Setting up Item Reactions
      • Custom Rarities
    • Setting up Item/Inventory Types
    • Set up the Pick/Drop Component
    • Setting up the Notifications
    • Setting up the Item Info panel
  • Inventory Set
    • Events
  • Inventory Master
  • Notification Manager
    • Notification Child
    • Events
  • Save/Load System
  • Item Spawner
  • Storage Chests
    • Chest Inventory
    • Chest Inventory UI
  • Using Armour
  • Shop System
    • Shop
    • Shop UI Manager
  • Cooking System
    • Create a new Recipe
  • UI Manager
  • Hotbar
Powered by GitBook
On this page
  • Parameters
  • Player
  • Pivots
  • Movement
  • Camera Input
  • Always Forward
  • Use Camera Up
  • Smooth Vertical
  • Can Sprint
  • Turn Multiplier
  • In Place Damp
  • Turn Limit
  • Animator Speed
  • Time Multiplier
  • Ground
  • Ground Layer
  • Orient To Ground
  • Debris Tag
  • Height
  • Slope Limit
  • Slide Threshold
  • Slide Amount
  • Slide Damp (Dampening)
  • Ground Alignment
  • Align Pos Lerp
  • Align Pos Lerp
  • Align Pos Delta
  • Align Rot Lerp
  • Raycast Radius
  • Align Cycle
  • Gravity
  • Direction
  • Force
  • Start Gravity Cycle
  • Clamp Gravity Speed
  • Ground Changes Gravity
  • Strafing
  • Can Strafe
  • Strafe
  • Normalize
  • Lerp

Was this helpful?

  1. Main Components
  2. MAnimal Controller

General

v1.4.2

PreviousMAnimal ControllerNextPivots

Last updated 1 year ago

Was this helpful?

On the General Tab you will find the most used parameters that you can modify on the (AC)

Parameters

Player

If this is set to true, this Animal will be your Main Character.

Pivots

Pivots are used to align the animal to a surface, Ground or Water see the next link for more information

Movement

Camera Input

The animal will use the Camera's Forward Direction to move

If you disable Camera Input the animal will no longer be influenced by the camera's look direction. It also can walk backward

Always Forward

If true, the animal will always go forward - just like in endless runner games

Use Camera Up

Users the Camera Up Vector to move up or down whilst flying or swimming underwater - if this is false, the animal will need an up/down Input to move higher or lower.

Smooth Vertical

Used for Joysticks or Mobile Input to increase the speed by Stick Pressure.

Can Sprint

Can the Animal Sprint?

Turn Multiplier

The Turn Multiplier for the animal. Higher Values mean the animal will turn faster

In Place Damp

Smoothing dampening to turn in-place. This is used by the AI when it reaches a target and the target Moves around the AI Animal

Turn Limit

Slows down the Animal when the Turn Angle is outside the limit provided

Animator Speed

Global multiplier for the animal's animator. Higher values means that the animations will play faster

Time Multiplier

Local Time Multiplier for the animal. Can be used for slow-motion movement. You can have all the animal enemies move slowly while your character moves at regular speed to simulate a Focus feature.

Ground

Ground Layer

Layers the Animal considers ground

(If the animal starts to fall for no reason, it should be because Ground Layer is empty, or the layer of the Game Objects beneath the animal needs to be added to the Ground Layer Mask).

Orient To Ground

A toggle to allow the animal to orient its rotation to the ground - disable this for humanoids!

Debris Tag

What is your debris tagged as in Unity? Tag your small rocks, stairs, and other small objects that the animal can walk on to allow better raycasting calculations from the animal.

By default is set to "Stair"

Height

Distance from the Animals hip to the ground

Slope Limit

The maximum angle of the slope that the animal can walk. If the animal tries to walk on a slope that is higher than this, it will slide down.

Slide Threshold

Angle on the terrain to start sliding down

Slide Amount

If an animal is sliding down because of a slope, how much should they be pushed down

Slide Damp (Dampening)

Dampening value to activate the sliding effect - lower values mean the sliding occurs faster

Ground Alignment

Align Pos Lerp

Smoothness value to snap to the ground when grounded

Left: Align Pos Lerp = 2. Right Align Pos Lerp = 30

Align Pos Lerp

Smoothness value to Snap to ground while Grounded

Align Pos Delta

Smoothness value to snap to the ground when using a non-grounded state e.g. falling

Align Rot Lerp

Smoothness value to Align to ground slopes while Grounded

Left: Align Rot Lerp = 2. Right Align Rot Lerp = 30

Raycast Radius

The radius of the spherecast used to check for ground underneath the animal

Align Cycle

When the animal is grounded, how often should the controller check per frame to align the animal. Higher values = more accuracy Lower values = better performance The default is 1 per frame

Gravity

Direction

Direction of the Gravity as a Vector 3. Default is -1 on the y axis. E.g. Standard earth gravity pushing directly down.

Force

How strong the Animal will fall to the ground. Default is 9.8

Start Gravity Cycle

Start the gravity with extra time to push the animal down. Higher values = stronger gravity

Clamp Gravity Speed

Clamps the gravitys speed/velocity. Setting to 0 will ignore this setting.

Ground Changes Gravity

A toggle that allows the animal to move on any surface in any direction e.g. upside down or similar to sonic around a tube

Can Strafe

Strafing requires a new set of animations. Make sure you have the proper animations set to use this feature!

Strafe

Activates strafing on the animal - a toggleable bool that is typically used at runtime - you normally won't need to set this yourself.

Normalize

Normalizes the strafing angle of the animal e.g. 180 to -180 becomes 1 to -1

Lerp

Lerp value to smoothly enter the state Default is 5

This will use a Singleton pattern and will set the Static value: Animal.isPlayer.Value = true; . That way the and the will know which main animal (Player) to respawn when it dies.

Ground Layer is set to Nothing

Can the animal ?

🐺
Respawn System
CheckPoints
Pivots
Strafing
Strafe
When is enabled if you point the camera up or down the character wil also go Up or Down
As of v1.4.2a