kizn
New vMember
Posts: 11
|
Post by kizn on Jul 20, 2020 15:19:58 GMT
Hi everyone, How to create random animation for JumpOver? It is already defined in the animator but I would love to implement more than 1 animation per jump. I tried to add vRandomAttackBehaviour on JumpOver sub-state and conditioned the animations inside for each attack with RandomAttack = 1,2,3... basically I have followed all the steps described here: invector.proboards.com/thread/214/random-attack-animations?page=1&scrollTo=2571The problem is that only the default animation is played. No matter how many I add. What am I doing wrong?
|
|
|
Post by Invector on Jul 22, 2020 14:49:44 GMT
A easy way to do it, is to use a pre-empty clip with the vAnimatorSetInt and the Random option. Basically you're creating a pre-state that will randomize a value to go to the next state.
|
|
kizn
New vMember
Posts: 11
|
Post by kizn on Mar 9, 2021 18:09:17 GMT
Sorry for super late response but got back in Unity fever. I've tried to do something like:
I can't see the RandomJumpOver parameter get randomized. It stays on default value: 0. I know this is simple as logic implementation but I can't get it working. Thank you for your time
|
|