WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-10-2013, 10:34 AM
white white is offline
Member
 
Join Date: Dec 2013
Posts: 2
easeout wheel-rotation

Hi,

How can I ease out a wheel-rotation depending on another action (motion of car)? I could rotate the wheel and easeout the rotation.


rim1.setCenter([1.5,0.32,0.945])
spinAction = vizact.spin(-1,0,0,270,10)
rim1.addAction(spinAction)
yield viztask.waitActionEnd(rim1,spinAction)
easeOut = vizact.spinTo(axisAngle=[1,0,0,0],speed=120, interpolate = vizact.easeOut)
rim1.addAction(easeOut)


But now I'd like the end of rotation to fit the time the cars stop. The cars have different starting positions (and therefore do not always take the same time to get to the stopping point), move to one point and ease out as well.

action1 = vizact.moveTo([-2,0,2],speed=13.89, interpolate=vizact.easeOut)

How can I link these two actions?

Thank you.
Gerda
Reply With Quote
 

Tags
car wheel rotation


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
Steering wheel mini Biom Vizard 2 06-17-2013 11:53 PM
Custom Joystick Rotation mhead10 Vizard 9 11-26-2012 12:06 PM
Changing Force-feedback on Wheel Cage Vizard 3 10-23-2010 08:37 AM
set bone rotation - cal3d munteanu24d Vizard 0 03-23-2010 04:25 AM
Unable to perform 360 rotation using vizact.spinto vijaykiran Vizard 2 09-29-2009 08:39 AM


All times are GMT -7. The time now is 03:31 AM.


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