add global y and z sine offset