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
  • Overview
  • General
  • Active
  • Animal
  • ID
  • Instant Mount
  • Mount Idle
  • Links (Mount Points)
  • Mount Point
  • Left IK
  • Right IK
  • Left Knee
  • Right Knee
  • Custom Mount
  • Straight Spine
  • Trans Ref
  • Point Offset
  • Smoothness
  • Animator Speeds
  • M/D States:
  • Mount Only/Mount Only States
  • Dismount Only/Dismount Only States
  • Force Dismount/Force Dismount States
  • Events
  • On Mounted
  • On Dismounted
  • On Can Be Mounted(Boolean)
  • Debug

Was this helpful?

  1. Riding System (HAP)

Mount

PreviousThe Art of (HAP)NextMethods and Properties

Last updated 4 years ago

Was this helpful?

Overview

This component makes an Animal or creature mountable or rideable. This component is the connection between the and the components.

General

Active

Animal

Reference for the Animal component. This is filled automatically on Start in case this field is left empty.

ID

ID of the Mount

0 Means is an Animal… 100 means is a Cart/Wagon/Carriage. This is used on the Animator to properly identify which Riding Idle animations to play on which Mount.

This allows the Rider’s Animator to choose the right animations when the rider is Riding the Mount using the Stance Animator Parameter. Eg It can be the Riding Animal Idle or the Riding Wagon Idle animation.

Instant Mount

Ignores all the Mounting and Dismounting Animations.

Mount Idle

This is used to Identify the Default Idle Animation when the Rider is mounting the Horse when you Enable Instant Mount, so the Rider will instantly go to this animation.

Links (Mount Points)

Links are extremely important for the Mount System, they are the transforms for the rider be on the right spot when mounting the Horse.

Mount Point

Reference transform for the Rider to be child of when mounting.

The Mount Point Parameter is required. all the others are Optional and used for IK purposes

Left IK

Reference transform of the Left Foot for IK.

Right IK

Reference transform of the Right Foot for IK.

Left Knee

Reference transform of the Left Knee for IK.

Right Knee

Reference transform of the Right Knee for IK.

You can use the Mount Point Prefab located on this path:

Malbers Animations/Horse Animset Pro/Prefabs/MountPoints

To Create new Mountable animals.

Custom Mount

All Mount Animations are made for the horse. When using any other animal, most of the time the animations from the animal and the rider will not match properly. This section is for those custom mounts, for other animals/creatures different from the horse.

This should be Enabled for all other animals except the Horse.

Straight Spine

Enabling this option the Rider will ignore the defaults spine rotation of the mount animations, allowing a better sync between the Rider and a custom Animal. Using this option the Spine will be always straight.

Trans Ref

Transform used for the Point Offset Calculation.

Point Offset

Creates a Local Point using the Trans Ref position to Aim the Rider's Spine using IK.

Smoothness

Lerp value to switch between Straight Spine On and Off

Animator Speeds

Changes the Speed on the Rider's Animator to Sync with the Animal Animator. The Original Riding Animations are meant for the Horse. Only change the Speeds for other creatures.

If the Animal is on the Trot Speed Modifier: the Rider will modify his Animator Speed to have the same time of the Animal Trot Animation.

At the moment the Speed multiplier must be change by brute force until you find a good match for syncing the animations. Fortunately there’s a helpful way to guess the best value for the Speed Mult.

M/D States:

Mount Dismount States: Allows the rider to Mount and Dismount when the animal is on an specific state (Idle, Locomotion, Jump.. etc.)

Mount Only/Mount Only States

When enabled: the rider will only mount the Animal when is any of the states on the Mount Only State list.

Eg: If we have just Idle, the Rider cannot mount the animal when is moving (Locomotion) or Swimming (Swim).

Dismount Only/Dismount Only States

When enabled: the rider will only mount the Animal when is any of the states on the Dismount Only State list.

Eg: If we have just Idle, the Rider cannot dismount the animal when is moving (Locomotion) or Swimming (Swim).

Force Dismount/Force Dismount States

When enabled, the rider will be forced to dismount when the Animal when is any of the states on the Force Dismount State list.

Events

On Mounted

Invoke the event when the rider start to mount the animal.

On Dismounted

Invoke the event when the rider start to dismount the animal.

On Can Be Mounted(Boolean)

On Dismounted: Invoked when the Mount has an Rider Nearby. By default it has 2 listeners set by default. Using the MEvents Rider Mount UI to let the Mount Interface know that an animal can be mounted and enables the Mount Icon (The Press F to Mount)

Debug

When the Editor is on Play Mode: It will show the Internal private variables values.

This option allows this to be mountable. It will be disabled it in case the animal dies, when there’s already a Rider riding the animal, a wagon is destroyed or you can use it to temporarily block the Rider to ride the animal.

The Speeds Multiplier List correspond to the animal.. Mainly for the State.

Enable Debug on the component and 2 spheres gizmos (1 red and 1 green) will appear on the Head of the Rider to see if the Animal and Rider Animations are in Sync.

E.g.: If we have on the list, the Rider will automatically dismount when the animal dies.

Animal
Rider
Death
Rider
MAnimal
Locomotion
Speeds Sets