Hi,
It's been requested few times already, and it's something that I always wanted to start ( I'd like to do angrybots and the other unity demos... but clearly not realistic timewise...)
Anyway. First step, the player control.
-- This package requires Unity Stealth project.
-- you will find a "PlayMaker Stealth" folder with "PlayMaker Ethan" scene. Open that and you'll have the main character control done in playmaker.
For this, I needed the quaternion custom action pack and I created also two new custom actions to control the rigidbody rotation, which is more efficient then controlling the transform rotation. The mecanim playmaker action package is also included.
The fsms are very simple, the most tricky being the rotation computation, so proper understanding of quaternion is required to understand how it's done. Basically, It transforms the user input into a "direction" that we then use as a target to lerp the character own rotation ( it's basically an absolute look at system)
I will move this to the wiki when I will have a bit more in, meanwhile, don't hesitate if you have questions or comments.
Bye,
Jean