|
Post by lavixo9043 on Nov 3, 2019 13:00:45 GMT
If I jump and then attack with a sword, the character will fall much slower, why is that? Is there any way to change that? On a side note, is there also a way to avoid being able to attack while airborne?
|
|
|
Post by Invector on Nov 4, 2019 12:56:14 GMT
Just open your vMeleeCombatInput script and add a condition "&& tpInput.cc.isGrounded" to the MeleeAttackConditions method
|
|
|
Post by Invector on Nov 4, 2019 13:08:54 GMT
On the next update, we added the method JumpConditions and RollConditions in the tpInput, so you can override in the shooterInput or meleeInput to add other conditions such as isAttacking
|
|
|
Post by adriancabouli on Nov 17, 2019 17:01:45 GMT
Hi! I have the same behavior when attack without weapon. There is a chance to fix that problem (not to limit only attack in ground ) thanks!
|
|
|
Post by Invector on Nov 18, 2019 17:39:49 GMT
Sure, it's very customizable you can set the conditions yourself and also create conditions in the AnimatorController to only trigger the attack when !isGrounded
|
|