|
#1
|
|||
|
|||
Reverse Animations
I have looked all over the internet, documentation and forums and cannot find the answer to my question:
Is it possible to have an avatar animation run in reverse? I would like my avatar to be in a 'walk' animation, but walk in REVERSE. I have tried setting the animation speed to -1 but that does not work. The only thing I could find about this in the forums was at the link below, which was never given an answer: http://forum.worldviz.com/showthread...hlight=reverse Thanks in advance! |
#2
|
|||
|
|||
Hi Kerscha,
The only way to make an avatar run in reverse realistically is to create the custom animation yourself. You can do so with motion capture devices, or with keyframe animations. See http://docs.worldviz.com/vizard/Tuto...s_manually.htm for some more information. |
#3
|
|||
|
|||
I understand that, but we purchased the Complete Character HD set and don't have access to the MAX files. We are limited by the animations that are already built in. I'm a little upset that there's not an easy way to just reverse the animations that already exist...
|
#4
|
|||
|
|||
As far as I know, you can buy the .max files for the Complete Character HD set separately, but that still is not an easy fix. In vizard, there is not much you can do to change the animations. One cumbersome way of reversing existing animations is to run the normal animation and save the rotation of every bone & the position of the pelvis bone of your Complete Character in a list. Reverse the list, and apply the rotation & position data to the corresponding bone of your Complete Character. See the code in the thread http://forum.worldviz.com/showthread.php?t=4948 for some info on that.
On a side note: I cannot easily imagine that reversing a running forward animation will create a realistic looking running backwards animation. Could you maybe elaborate what you're trying to achieve in general? Perhaps there are other (simpler) ways. |
#5
|
|||
|
|||
What I want to do is create a type of "tour". I have created a path in 3DS MAX through my worlds that I link the Avatar to. I have the avatar facing the user and I need her to walk backwards in order to speak with the user, exactly as tour guides do.
|
#6
|
|||
|
|||
One option would be to put the avatar om a small platform, with her facing the user. That platform can follow the path you made in 3DS MAX, and the avatar can be linked to the platform.
Another solution could involve the avatar walking to a certain spot, then turning to the user to give the tour. The avatar could keep on talking with its back towards the user, although it is quite common for tour guides to not talk about the tour while walking. A last option would be to record the leg movements of the standard walking motion, keep the orientation and position in a list, reverse the list and apply this reversed list to the leg bones. I don't know if it will result in a realistically looking backwards walking avatar though. |
#7
|
|||
|
|||
I was able to reverse the walk in a simplistic way and it looks ok. Not great, but it will suffice for what we are doing. Thanks for your help, it might come in handy later on. For future reference, here's the code I came up with:
walkTime = 1.1853300333 def walkBackwards(): global walkTime avatar.setAnimationTime(0,walkTime) walkTime-=0.01 #change for speed if walkTime <= 0: walkTime = 1.1853300333 vizact.ontimer2(0.01,viz.FOREVER,walkBackwards) |
Tags |
animation, avatar, backwards, reverse, walk |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"reverting" between animations & linking objects to bones | Lithium | Vizard | 3 | 08-08-2011 11:01 AM |
Trouble using custom animations for Live Characters | IGoudt | Vizard | 0 | 09-24-2009 06:37 AM |
animations | dan12345 | Vizard | 3 | 07-14-2008 11:43 AM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |
loading CAF animations | vadrian | Vizard | 1 | 06-02-2005 04:38 PM |