Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a "Speed of Sound" setting to the project settings for Doppler#114124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
RoyBerardo wants to merge1 commit intogodotengine:master
base:master
Choose a base branch
Loading
fromRoyBerardo:speed_of_sound_setting

Conversation

@RoyBerardo
Copy link
Contributor

Adds aspeed_of_sound setting to project settings, which is (currently) only used for doppler calculation.

Can be set/get withAudioServer.speed_of_sound

Addresses one of the topics ingodotengine/godot-proposals#7955

@AThousandShipsAThousandShips changed the titleadd a "Speed of Sound" setting to the project settings for dopplerAdd a "Speed of Sound" setting to the project settings for dopplerDec 17, 2025
@AThousandShipsAThousandShips changed the titleAdd a "Speed of Sound" setting to the project settings for dopplerAdd a "Speed of Sound" setting to the project settings for DopplerDec 17, 2025
Scales the rate at which audio is played (i.e. setting it to [code]0.5[/code] will make the audio be played at half its speed). See also [member Engine.time_scale] to affect the general simulation speed, which is independent from [member AudioServer.playback_speed_scale].
</member>
<membername="speed_of_sound"type="float"setter="set_speed_of_sound"getter="get_speed_of_sound"default="343.0">
The speed of sound, in meters per second. Used for doppler calculation. Upon initialization, this is set to [member ProjectSettings.audio/general/speed_of_sound].

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
The speed of sound, in meters per second. Used fordoppler calculation.Upon initialization, this is set to [member ProjectSettings.audio/general/speed_of_sound].
The speed of sound, in meters per second. Used forDoppler calculation.On initialization, this is set to [member ProjectSettings.audio/general/speed_of_sound].

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AThousandShipsAThousandShipsAThousandShips left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

4.x

Development

Successfully merging this pull request may close these issues.

2 participants

@RoyBerardo@AThousandShips

[8]ページ先頭

©2009-2025 Movatter.jp