#1
|
|||
|
|||
Problems with interaction of vizact.turn and animation path
Hello, I am writing a script to control avatars, and am attempting to use animation paths to control them. Generally, this works fine, but if I try to rotate first using an Avatar.add(vizact.turn(foo)), then start the path once I have reached the target angle, I get very strange behavior - a model with a specific head had the head follow a different path from the body, and it sometimes resulted in following the path in the wrong order.
So, a few queries - First, is there a command to tell when an avatar's action pool is empty? Since I think the problem is the vizact.turn is still at the tail end when the path starts, if I could query what wizard thought, rather that checking the avatars angle, it would probably fix the problem. Secondly, I found some references to an improved walkto command with the option to not turn off the walk animation, and that accepted lists, that was supposed to be in the next release - has this version made it yet? Relatedly, is there a command to tell when a path is done? Thanks, Christian |
#2
|
|||
|
|||
You can tell when a pool is empty by the viz.ACTION_EMPTY_EVENT or you could listen for the viz.ACTION_END_EVENT to see if a particular action has ended.
There is no animation callback event. You could manually set up a timer to expire when the animation path is done. The current version does not accept a list for the vizact.walkTo command. Farshizzo, are there any plans for this? |
#3
|
|||
|
|||
Are you sure about this? The current version of the vizact.walkTo command should ONLY accept lists for the position argument.
|
#4
|
|||
|
|||
sorry, I was thinking the original question was asking about passing in a list of points to the walkTo command
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
speed on animation path | whj | Vizard | 8 | 11-17-2008 08:41 PM |
real time collision on animation path | whj | Vizard | 10 | 10-06-2008 05:38 PM |
Animation Path | djdesmangles | Vizard | 2 | 06-11-2007 04:37 PM |
Animation Path | djdesmangles | Vizard | 0 | 06-06-2007 12:03 PM |
avatar animation problems | jrodman | Vizard | 1 | 01-18-2006 10:12 AM |