I didnt really understand the text, but you want to have a character look at something while moving? You can expose only the head joint (bone) and have a lookAt in a task. That way you can still have the body animated.
Assuming your tying to get the entire character to face the cube, lookAt() is the best way I know of getting one object to look at another. Can you explain what it’s doing that isn’t right? If its causing your character to look up or down, and you don’t want that, then adding setH(0) should fix that. If its something else… then I would need more information.
You may misunderstand me…like the example of pathfinding on pandaai page where you click and then the character moves towards the goal but it doesn’t look at the goal itself, it looks at the direction it goes to
When it moves to the right then its H value will be changed to make it look to the right where it directed to
I hope that clear