To use this utility, first create a transform group that this rotate behavior will operate on. Then,
MouseRotateY behavior = new MouseRotateY(); behavior.setTransformGroup(objTrans); objTrans.addChild(behavior); behavior.setSchedulingBounds(bounds);