|
#1
|
|||
|
|||
Animation
I have some mocap characters and i want to be able to jump to and play from a particular frame - how do i do that?
|
#2
|
|||
|
|||
I'm not sure what you mean by mocap characters. If have a Cal3D avatar with a saved animationyou can use <node3d:avatar>.setAnimationTime to play it from different points in the animation cycle.
|
#3
|
|||
|
|||
yes but how specifically do I set the animation frame? I have a motion captured character, exported from 3dsmax using the Cal3d exporter, it has 1 animation and
bill = viz.addAvatar('LandMan.cfg' ) bill.state(1) bill.setAnimationTime(1,180) doesn't do it or any other combo of numbers ... thanks |
#4
|
|||
|
|||
If the animation is cycling and you want to change the animation time, pass in 0 for the animation number. Does that work for you?
Code:
import viz import vizact viz.go() avatar = viz.addAvatar('vcc_male2.cfg',pos=[0,0,5],euler=[180,0,0]) avatar.state(4) vizact.onkeydown('1',avatar.setAnimationTime,0,5) vizact.onkeydown('2',avatar.setAnimationTime,0,13) |
Tags |
animation, frame, mocap |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
control animation on ive or wrl files? | Darkmax | Vizard | 8 | 07-17-2012 01:13 PM |
Clarification on CAL3D Avatar Animation in Vizard | shivanangel | Vizard | 2 | 11-22-2010 08:16 AM |
Animation Tracks.... | k_iwan | Vizard | 2 | 03-26-2007 06:52 PM |
Jumpy animation | Elizabeth S | Vizard | 1 | 11-08-2006 03:11 PM |
avatar animation problems | jrodman | Vizard | 1 | 01-18-2006 10:12 AM |