#1
|
|||
|
|||
Help
HI,
I`m trying to move a simple ball after that I`ll change the size of the object, But I need that this two events happen one by one, not the both at the same time. Can Any body help me ? |
#2
|
|||
|
|||
Hi,
Do you want to animate the ball moving and then animate it changing size? |
#3
|
|||
|
|||
I`ll like to animate the ball with tha goto function, and when the ball finish, chage the size of it.
|
#4
|
|||
|
|||
If you have vizard 2.5 you could do something similar to the following:
Code:
move = vizact.goto(0,0,5,1) changeSize = vizact.scale_node(3,3,3) ball.add(move) ball.add(changeSize) Code:
def ballStop(object,type): if type == viz.MOVE: ball.scale(3,3,3) ball.callback(viz.STOP_EVENT,ballStop) ball.goto(0,0,5,1) |
|
|