|
Post by sheyne on Jan 16, 2018 18:47:35 GMT
Hello there ! I've been using this beautiful asset for like few months, though, even if i'm getting better and better at using it i'm still disappointed cause I cannot find any dash animation. Something like a slow teleportation in front of the camera, or a very fast rush forward.
Does any of you accomplished something like this ?
|
|
|
Post by sheyne on Jan 17, 2018 9:49:58 GMT
I finally got it, I found how to impact the XY by the curve, modifying an existing animation directly inside the animation editor.
|
|
|
Post by darknubis365 on Jan 23, 2018 17:39:41 GMT
So how did you do it?
|
|
|
Post by Sheynes on Jan 25, 2018 10:26:37 GMT
First, I had to use the "root" movements in the character controller. So I had to rework all of my speed option.
Then, inside every animations I checked two of the three boxes. "Move to root angle" "Move to Y". But I didn't checked the "Move to XZ" box. So my character was able to follow the animation on the XZ axe, and kept having his feet on the ground after the animation played.
Next step was to modify a pre-made rush animation i got in the Fighting Unity Chan Vol1-10 package. The animation was already dashing on one meter or something. I duplicated this animation, and opened it inside the unity animation editor. Then I looked for the XZ curve, and I bringed the X curve to and higher value.
This way, everytime I played the animation, my character followed it. And the animation itself was a powerfull dash.
I finally replaced the roll animation by this dash animation.
|
|
|
Post by darknubis365 on Jan 25, 2018 10:36:32 GMT
First, I had to use the "root" movements in the character controller. So I had to rework all of my speed option. Then, inside every animations I checked two of the three boxes. "Move to root angle" "Move to Y". But I didn't checked the "Move to XZ" box. So my character was able to follow the animation on the XZ axe, and kept having his feet on the ground after the animation played. Next step was to modify a pre-made rush animation i got in the Fighting Unity Chan Vol1-10 package. The animation was already dashing on one meter or something. I duplicated this animation, and opened it inside the unity animation editor. Then I looked for the XZ curve, and I bringed the X curve to and higher value. This way, everytime I played the animation, my character followed it. And the animation itself was a powerfull dash. I finally replaced the roll animation by this dash animation.Cool i'll definitely give this a try i been having problems with AI lately npc doesnt follow sometimes it walks in place i checked the mesh colliders couldnt really figure it out is there some issues with the new version?of that or unity
|
|
|
Post by Sheynes on Jan 25, 2018 11:25:23 GMT
It can be many things. Are your AI alway on the mesh nav AI path ? You also have to make all your floor navigable.
Another solution could be : Do you changed the AI animation ? Sometime animations doesnt finish on the same Y level. So you AI is a bit above the floor, and since he don't touch the nav mesh he stop acting normaly. So you can check that their animations have the "fixed Y root" box checked.
|
|
|
Post by darknubis365 on Jan 25, 2018 15:47:57 GMT
It can be many things. Are your AI alway on the mesh nav AI path ? You also have to make all your floor navigable. Another solution could be : Do you changed the AI animation ? Sometime animations doesnt finish on the same Y level. So you AI is a bit above the floor, and since he don't touch the nav mesh he stop acting normaly. So you can check that their animations have the "fixed Y root" box checked. Ok i'll check that out thats seems likely cause he starts to attack then just stop following i did rebake nav on my terrain so i'll check all that stuff also when i use invector nav tutorial i put in the settings from the pdf maybe that change it on my terrain causes these problems
|
|