setGravityDir Platform Compatibility PC Mac OSX Oculus Quest X X X Set gravity direction in X,Y,Z Parameters: dir A string value Example: 1obj.setGravityDir(dir) Tags Code Doc navigation← timeScalegravityDir → Was this article helpful to you? Yes No How can we help? Name Email subject message