#1
|
|||
|
|||
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 |
Tags |
car wheel rotation |
|
|
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 |