![]() |
#1
|
|||
|
|||
easeIn for a spin?
Hello,
hope I can make my question clear to you. I want a certain part to start spinning until the user stops it, so far it worked with the spin command. But it looks a little bit weird if it simply starts and stops without increasing speed. My problem is I can't create this effect with the spinTo command and use the embedded interpolation methods. Tips to get a solution are welcome. Thanks, Chris |
#2
|
|||
|
|||
Can you post some example code that does not work for you?
The following uses vizact.easeIn to start the spin slowly: Code:
import viz import vizact viz.go() gallery = viz.addChild('gallery.ive') ball = viz.addChild('ball.wrl',pos=[0,1.8,3]) spin = vizact.spinTo(euler=[180,0,0],speed=45,interpolate=vizact.easeIn) vizact.onkeydown(' ',ball.addAction,spin) |
#3
|
|||
|
|||
Hi Jeff,
my problem is that the spinTo command just catches the shortest way so far, but I need a steady rotation going on until you hit a key and it stops. Sometihng like a running wheel. It starts slowly and increases the rotationspeed till it hits his running speed. Hope I could make it a little bit more clear to you. Thanks, Chris |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spin around one point | Ellen | Vizard | 3 | 07-02-2010 12:14 AM |
Spin Actions and rotations | Vinicius Lima | Vizard | 1 | 10-22-2007 12:49 PM |
spin around axis object | kazo11 | Vizard | 2 | 04-19-2007 10:48 AM |
Spin Move | oscar | Vizard | 2 | 12-03-2004 06:52 AM |