MRider
Overview
This component manages the Riding Logic of the humanoid character
Requirements
The component uses a specific Animator Layer that has all the animations needed to synchronize the Rider and Horse Animations. This is solved by using the button [Add Mount Layer]
General

Start Mounted
If Enabled the Rider will be already mounted on the Stored Mount.
Stored Mount
Mount Reference of an animal that can be mounted. This is used with the Start Mounted feature.
Also is used with the Call animal feature. When using the method CallAnimal.. it will look for the Stored mount.
Parent to Mount
When mounting the Animal, the rider will be parent to the Mount -> MountPoint transform.
(NOT DONE YET)
Disable Components & Disable List
Use it to disable components that are interfering with the riding logic.
Add the scripts that interfere with the logic while riding. (Usually is used for scripts that are not supposed to be active while the character is Riding. Like scripts that move and rotate the character, Ragdoll scripts, etc. Also are used to disable Inputs that are only supposed to be active when the character is not riding: Ex: a Crouch Input).
Events

(NOT DONE YET)
Advanced

(NOT DONE YET)
Debug
When the Editor is on Play Mode: It will show the Internal private variables values.

Last updated
Was this helpful?