To slow the movement of the head you can specify the fifth parameter to be time: for example:
addAction(vizact.spinto(0,1,0,90,2,viz.TIME))
With regards to the problem of the head rotating before you get to the chairs, have you tried using a hotspot (viz help) to trigger the action? If not, try using a hotspot placed between or behind the chairs with an if statement to rule the actions of the partner_head.
Otherwise, perhaps you could place a small box in the world where you want the avatar to stop and look around, turn collision on for the box and disable it from being rendered: object.disable(viz.COLOR_WRITE). Then write an if statement that runs the actions you want when it detects an avatar-box collision.
Hope it helps.
|