setAngularDrag
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the rotation drag of rigidbody Parameters: drag A float value Example: 1obj.setAngularDrag(drag)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the rotation drag of rigidbody Parameters: drag A float value Example: 1obj.setAngularDrag(drag)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the drag of rigidbody returns a Float (decimal number) value Example: 1obj.getDrag()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the drag of rigidbody Parameters: drag A float value Example: 1obj.setDrag(drag)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the mass of rigidbody returns a Float (decimal number) value Example: 1obj.getMass()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the mass of rigidbody Parameters: mass A float value Example: 1obj.setMass(mass)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get how spatially located the sound is returns a Float (decimal number) value Example: 1obj.getSpatialBlend()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set how spatially located the sound is (0 for 2D 1 for 3D) Parameters: value A float value Example: 1obj.setSpatialBlend(value)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the stereo panning value returns a Float (decimal number) value Example: 1obj.getStereoPan()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set stereo panning value (-1 to 1, 0 for center) Parameters: value A float value Example: 1obj.setStereoPan(value)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the pitch of the audio returns a Float (decimal number) value Example: 1obj.getAudioPitch()