You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix AudioStreamPlayer3D autoplay and internal notifications
This commit is contained in:
@@ -240,6 +240,7 @@ float AudioStreamPlayer3D::_get_attenuation_db(float p_distance) const {
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::_notification(int p_what) {
|
||||
internal->notification(p_what);
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
velocity_tracker->reset(get_global_transform().origin);
|
||||
|
||||
Reference in New Issue
Block a user