|
Post by justsomedev on Nov 10, 2023 19:11:46 GMT
Hello everyone, before the 2.6.3 update my character was not able to rotate with the WASD keys while they were attacking with the "attack" and "lockmovement" tags but was allowed to rotate with the camera, when not locking on to an enemy, as I checked the "rotate with camera" option in the locomotion settings. Now after the update the character is able to rotate with the WASD keys and the camera. When locking on to an enemy the character is able to rotate away with the WASD keys even when attacking with the same tags but wasn't able to do so before the update. I'm trying to find the change in the scripts that enabled the rotation with WASD and I can't find it in the locomotion scripts. Checked the patch notes and I think it's tied to the new AnimatorParameter "InputDirection", to use on turn animations, but I'm not seeing it in the scripts nor am I using it in my Animator. Does anyone know where these changes have been made so I can modify them back? I looked in the Third person input, controller, animator. motor and MeleeCombat scripts with no luck.
|
|
|
Post by justsomedev on Nov 26, 2023 16:49:25 GMT
Update: I found out what was happening, the previous project had the isStrafing parameter true when the character attacked. Now when the character attacks in the new update the isStrafing parameter is set to false until the attack has ended. Not sure where the change was made but the issue has been identified.
|
|
|
Post by justsomedev on Nov 26, 2023 19:12:59 GMT
Update: For some reason the free locomotion is activating even when I have strafe only selected for the thirdperson locomotion whenever the character attacks. Looked at the thridperson input, motor, character and meleecombat scripts, I don't see any issues with the code so far. Not sure why this is happening. I don't have any events created to cause this issue either.
|
|
|
Post by justsomedev on Nov 26, 2023 20:23:06 GMT
Update: I found a change in the motor script but it's not causing the issue, after running some tests. Not sure where it's disabling the strafing parameter in the scripts. Any assistance would be greatly appreciated.
|
|
|
Post by justsomedev on Nov 28, 2023 21:03:02 GMT
Update: I reimported the updated invector assets and the issue still occurs. My last resort is to roll back to the previous project file that I have saved. Any assistance will be greatly appreciated, thanks in advance.
|
|
|
Post by Invector on Nov 29, 2023 14:13:56 GMT
Can you share a step by step on how can I reproduce this issue?
|
|
|
Post by justsomedev on Nov 30, 2023 1:08:50 GMT
Update: As for a step by step I created a new empty project and I re-downloaded the asset and imported it into the project. Once I created a new shooter controller I configured the locomotion settings to "Only Strafe". After that I opened the animator window and selected the controller to view the parameters as the game plays. The issue still occurs with the newly made project when the character attacks, the isStrafing parameter is disabled during the attack animation and is then re-enabled when the attack is finished. Not sure if anyone else in the forum is dealing with this issue. I re-read the update notes and it's mentioned that this issue was fixed. Funny thing is that I've never encountered the issue with the previous version until this recent update.
|
|
|
Post by justsomedev on Jan 2, 2024 21:36:22 GMT
Update: Issue also occurs when I'm jumping. The last version of the template I never encountered this issue which is weird since the current version fixes the issue. Still can't locate what and where the strafing variable is being disabled. Any assistance will be greatly appreciated, thank you.
|
|