Credible rotation (Rotate and TurnTo command)
I'm trying to rotate my bot in a credible way changing pitch and roll at same time, like a player can do. I'm trying to choose rotation values with a fuzzy engine to simulate human behavior
I've proved use AdvancedLocomotion that use Rotate command in that way:
move.turnHorizontal(5000);
move.turnVertical(10000);
With that method my bot only do vertical turn (I think because it is in the same iteration)
I've proved too use:
Rotation rotation = new Rotation(10000,20000,0);
getAct().act(new TurnTo().setRotation(rotation));
I'm not sure if I can use it for both axis turn ¿is it posible?
Anyway using it (and others values) my bot always turn to same rotation position: (257.0, 26449.0, 0.0), I think maybe it is a bug ¿?
I don't want use TurnTo().setTarget() or setLocation() because I want my fuzzy engine calcule degree values. Any idea for execute both movement at same time?
Thanks
Frank