0

Making 3d game in Ursina. How can one create a sound in a 3d environment where you parent it to an object so the further away the player is, the less sound is emitted?

Like something like:

a = Audio("file.mp3", range = 1, parent = "some entity")
starball
  • 20,030
  • 7
  • 43
  • 238
  • You can try to increase or decrease the volume of `Audio` respective to the player's distance to an `Entity`. – Tanay Jan 02 '23 at 03:48

0 Answers0