Arashi
Member
In create event of my sound controller object I set up audio falloff model
Then in create event of obj_bee I set up buzzing emitter.
Audio listener position is binded to the player and is updated every step with player's coordinates.
Audio emitter position is binded to the bee and is updated every step too;
What happens: when I walk around the bee I can hear sound going from left speaker to right. But there is no falloff regardless how far I walk away from the bee.
What I am doing wrong?
audio_falloff_set_model(audio_falloff_linear_distance_clamped)
Then in create event of obj_bee I set up buzzing emitter.
GML:
buzzing_emitter = audio_emitter_create();
audio_emitter_falloff(buzzing_emitter,100,50,1);
audio_play_sound_on(buzzing_emitter,snd_bee,true,irandom_range(90,110));
audio_listener_orientation(0,0, -1, 0, 1, 0 );
audio_listener_position(x, y, 0);
Audio emitter position is binded to the bee and is updated every step too;
audio_emitter_position(buzzing_emitter,x,y,0)
What happens: when I walk around the bee I can hear sound going from left speaker to right. But there is no falloff regardless how far I walk away from the bee.
What I am doing wrong?
Last edited: