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)

getDrag

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the drag of rigidbody returns a Float (decimal number) value Example: 1obj.getDrag()

setDrag

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the drag of rigidbody Parameters: drag A float value Example: 1obj.setDrag(drag)

getMass

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the mass of rigidbody returns a Float (decimal number) value Example: 1obj.getMass()

setMass

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the mass of rigidbody Parameters: mass A float value Example: 1obj.setMass(mass)

getSpatialBlend

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()

setSpatialBlend

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)

getStereoPan

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the stereo panning value returns a Float (decimal number) value Example: 1obj.getStereoPan()

setStereoPan

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)

getAudioPitch

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()