![]() |
#2
|
|||
|
|||
Try using viz.pick or vizact.onpick. Here when the door object is clicked with the left mouse button the function door.addAction is called with the argument opendoor, your animating action.
Code:
vizact.onpick(door, door.addAction, opendoor) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|