start () {
systemEvent.on(SystemEvent.EventType.TOUCH_MOVE, this.onTouchMove, this);
}
onTouchMove(event: EventTouch) {
let dif = event.getDelta();
let q_tmp = new Quat();
let v_tmp = new Vec3(-dif.y, dif.x, 0);
v_tmp.normalize();
let out_Q = Quat.rotateAround(q_tmp, this.node.rotation, v_tmp, Math.PI * 0.01);
this.node.setRotation(out_Q.x, out_Q.y, out_Q.z, out_Q.w);
}