I am having an issue with my animator for this project I am doing. We’re using the “3DGamekitLite” package which includes a character with a 4-hit combo, which is enacted when the player repeatedly clicks mouse 0/Fire1. We’re tasked with splitting the combo into two, Combo1 - 2 when the player clicks Fire1 and Combo3-4 when the player clicks Fire2. I edited the PlayerInput.cs and PlayerController.cs files within the package to implement a separate detection for Fire1 and Fire2, which works in the animator window in terms of the detection of the player using Fire2. However my issue arises when the detection happens, the issue being NOTHING happens ;-;. It registers the click but does not enter into the separate “RightClickCombo” submachine, unlike when the player uses Fire1. All of my transitions are appropriate, in it that the LeftClick combo has transitions for my “MeleeAttack” trigger (which is bound to left click) and my RightClick combo has transitions for my “MeleeAttack2” trigger (which is bound to right click). Has anyone else had this issue? I would include images but I am not allowed on account of my “new-ness”.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Attack Animation locks up when clicking a second time during the animation | 3 | 652 | July 23, 2018 | |
| The Unity Animator - Registering Clicks | 2 | 1084 | February 21, 2020 | |
| My character has broken animations | 0 | 350 | August 5, 2023 | |
| Transitioning to another animation quickly if key is pressed | 1 | 697 | December 10, 2020 | |
| Attack animation doesn't always trigger | 1 | 1053 | February 11, 2017 |