RollOffMode is an Enum that defines how sound is attenuated based on the distance between a sound source (BasePart or Attachment) and the player.
This is used in the RollOffMode property of Sound and controls how the volume of 3D sound decreases with distance.
Inverse
0
Simulates realistic sound attenuation using the inverse distance relationship.
Linear
1
Fades out sound linearly between RollOffMinDistance and RollOffMaxDistance.
LinearSquare
2
Similar to Linear, but fades out faster using inverse square distance relationship.
InverseTapered
3
Combines the inverse relationship near the RollOffMinDistance and uses squared linear fade near the RollOffMaxDistance.
Last updated 12 days ago