Dodge & target orbit not working.

Hiiyan90

New member
Hi Opsive,

Enjoyed TPC so wanted to try agility pack. In the demo, dodge does not seem to work. Read through some docs, ended up disabling target orbit and now dodge works. But Can not orbit the target so it's hard to aim with melee weapon. Any suggestions about how to fix this?

Using latest of Agility and TPC and unity 2019.4.9f1.

Thank you.
 

Hiiyan90

New member
Sorry for poor wording. I mean I have a project with only Behavior Designer and Third Person Controller in it and the integrations. In the Agility demo, the player Nolan will not dodge on space bar. I have not changed anything myself in the project. But when I turn off target orbit ability, the player can dodge again but it's hard to aim at the target since it can not use the target orbit ability.

I hope that makes more sense. I have the latest versions of everything too.

In your demo it's working perfectly. So I am not sure why a fresh project would not be.

Thank you.
 

Justin

Administrator
Staff member
Thanks for the details. This is really strange - the ability isn't even trying to be started when the orbit ability is active. I am on vacation this week but as soon as I get back I'll take a closer look at the cause.
 

Justin

Administrator
Staff member
I had a chance to take a closer look at this and you can fix it by removing the m_ButtonUp condition on line 340 of Ability.cs:

Code:
                    if (m_ButtonUp[i] &&
 

Hiiyan90

New member
Thank you for getting back to me. It seems if I remove that line I lose all input or get an error. Could you possibly be a little more specific? If I remove the line I get an error, and if I remove the line and the following contents (from line 340-348) I lose all input.

Thanks you.
 

Justin

Administrator
Staff member
You don't want to remove the entire line - just by removing the "m_ButtonUp &&" condition.
 
Top