Hi, so what I am trying to do is change the players movement type when he has a weapon equipped. I have spent the past few days trying to get it to work with no success. I thought at first it would be simple like starting an ability but its not that easy. I use the Third Person Adventure as the main type, and I want to switch between that and Third Person Combat. I tried the MovementTypeSwitcher script and I can't quite get that to work. I get the error below for that one. At one point I added all the movement types and tried that script and it did switch to RPG, but not the other types. What's the best solution to change between the two types i listed above?
DivideByZeroException: Attempted to divide by zero.
Opsive.UltimateCharacterController.Demo.MovementTypeSwitcher.Update () (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/MovementTypeSwitcher.cs:92)
DivideByZeroException: Attempted to divide by zero.
Opsive.UltimateCharacterController.Demo.MovementTypeSwitcher.Update () (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/MovementTypeSwitcher.cs:92)