Set the below variable to each direction the character can turn to, starting with the largest number.
You can set multiple characters with different amount of direction.
Examples:
smt_animation = {Car = {315, 270, 225, 180, 135, 90, 45, 0}}
smt_animation = {Hero = {270, 180, 90, 0}, Car = {315, 270, 225, 180, 135, 90, 45, 0}}
smt_animation = {Hero = {330,315, 270, 225, 180, 135, 90, 45, 0}
smt_turningAniNames = {Hero = {"character_turn_330","character_turn_315", "character_turn_270",........
Maybe you could solve this with a good animation. I'm currently doing some tests with a new version of the script and it seems to work. But need some more time to test, though...