1 (edited by acidfmhq 2017-06-09 13:42:06)

Topic: Apply Different Block Force.

So I'm wanting to be able to apply a different force to blocking while grounded.

I looked in the ControlScript.cs file to location where the variable applyDifferentAirForce is and tried adding the code below it

if (!myPhysicsScript.IsGrounded() && isBlocking && hit.applyDifferentBlockForce)
            {
                pushForce = hit.pushForceBlock;
            }
            else
            {
                pushForce = hit.pushForce;
            }

After putting that in it's not working and I'm sure this is where this override is applied didn't see anything in the PhysicsScript.Cs about the PushForceAir variable.


The reason why i'm wanting this is due to the fact we are using root motion for most of our strong hits they look more natural this way.

Any help would be great!!

Terrordrome Reign of the Legends Out now on Steam!!
https://store.steampowered.com/app/1291 … e_Legends/
Terrordrome Project Manager

Re: Apply Different Block Force.

I might be able to help you soon on this as on my TODO list is having force overrides for hit stuns based on state.

Share

Thumbs up Thumbs down

Re: Apply Different Block Force.

Alright cool my lead developer has decided to go back using a different block that includes root motion itself. But I will wait and see how this works when you get it completed if your willing to share with the community.

Terrordrome Reign of the Legends Out now on Steam!!
https://store.steampowered.com/app/1291 … e_Legends/
Terrordrome Project Manager