Public class MyObserver implements EventOutObserver { |
public void callback(EventOut value,double timestamp) { |
//cast the obtained value here into an EventOutSFVec3f |
} } |
............. |
MyObserver observer = new MyObserver; |
mover.getEventOut("translation_changed").advise(observer,null); |
When the eventOut from translation occurs,observer.callback() is executed. |