WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 08-06-2014, 02:05 PM
kerscha kerscha is offline
Member
 
Join Date: Sep 2013
Posts: 9
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)
Reply With Quote
 

Tags
animation, avatar, backwards, reverse, walk


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC