Hi there!
When I made the animations for my main character, I had the Mecanim Locomotion starter kit (provided by Unity) in mind , I've made several animations for turning (45, 90, 135 and 180º), turning 90/180º while walking, etc...
With Adventure Creator I can set parameters for speed and turn (wich becomes -1 [left] or 1 [right]), If I'm correct, with those two I can't setup a complex controller wich takes into consideration the direction the character is going to look at.
I'm not a programmer, so I don't know how AC handles pathfinding or movement, so I'm wondering if it is possible to include this "direction" parameter (take a look at the mecanim examples by Unity Tech to see what I mean).
Sorry for my english -it isn't my mother language-, and thank you for your time.
Comments
EDIT: Never mind, I've found it. I will certainly take a look.
A lot of AC users are not programmers at all, or just beginner or medium level ones. The way things work with AC is what draws that audience. But being able to integrate AC with some character controller requires expert scripting knowledge and that is the place where the only barrier for that audience is.
A video tutorial could also be off great help if possible.
There'll be a new animation engine setting called "Custom", which is really just an easier way of calling a custom animation script that can already be done. However, choosing will also give you the option to control the character's actual position/rotation as well (though AC will still calculate what these things "should" be. You can then use a very simple script to link the two together.
The Motion Controller asset has been brought up several times, and it's a good example because it handles both animation and position. To link the two together, you first tell AC that Motion Controller will take care of all character motion, and then attach a simple script that passes what AC wants to do with the character to Motion Controller, which actually does it.
In the case of Motion Controller specifically, such a script could be as few as a dozen lines of code, and work for both Players and NPCs. A tutorial for this will be made available once 1.42 is released.
The point here is that it would be impossible to provide specific support for any and all such assets out there, so instead the idea is to make it much easier for users to provide integration for their own needs much more easily. I think it's a good compromise, and should help AC have much wider integration capabilities than it could by focusing on specific assets.
FANTASTIC NEWS!
Motion Controller is a great asset with a very active developer, cheers!