WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 09-29-2009, 04:29 AM
Andy Andy is offline
Join Date: Mar 2008
Location: Germany
Posts: 36
animation sequence

If I have a node3d object and call an animation state, is it possible to stop the action on the last position and start a new action state on this position (like a sequence of animations)?

I my application I would like to move a robotic gripper in a close position and open position.

#add robiGrip - default position is closed
robiGrip = viz.add("gripper.cfg") 	

def onkeydown(key):
	if key == 'o':
		print 'open'
	elif key == 'c':
		print 'close'
	elif key == 'p':
		print 'pause'
	elif key == 'r'
		print 'resume'
Reply With Quote
Old 10-01-2009, 10:42 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,466
You can freeze an animation on the last frame, for example.
female = viz.add('vcc_female.cfg', pos = [0,0,5], euler = [180,0,0])
female.execute(5, freeze = True)
Then if the second animation starts at that same point the first one stopped it should work.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Animation Tracks.... k_iwan Vizard 2 03-26-2007 05:52 PM
Jumpy animation Elizabeth S Vizard 1 11-08-2006 02:11 PM
animation sequence pkhoosh Vizard 2 01-23-2006 08:03 AM
avatar animation problems jrodman Vizard 1 01-18-2006 09:12 AM
animation sequence shai Vizard 1 10-27-2004 10:09 AM

All times are GMT -7. The time now is 08:26 AM.

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