0 votes

For 2D Physics there are three options in the Project Settings which are derived from the SpaceParameters of the Physics2DServer. Those are:

  • Sleep Threshold Linear (= SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD)
  • Sleep Threshold Angular (= SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD)
  • Time Before Sleep (= SPACE_PARAM_BODY_TIME_TO_SLEEP)

The thing that interests me here is that not all parameters are exposed to manipulate the physics behavior. Also the SpaceParameters of the PhysicsServer (3D) aren't exposed at all.

Any ideas why?

Godot version 3.3.1
in Engine by (1,024 points)

1 Answer

+1 vote
Best answer

Any ideas why?

I don't think there are reasons for specifically not exposing them in the Project Settings. It's just that these are advanced settings that most people don't need to change, and so nobody thought about exposing them in the Project Settings.

As a workaround, you can use an AutoLoaded script to set those in its _ready() function.

by (10,255 points)
selected by

Thanks for the quick feedback. The problem I faced was that I only discovered the other settings by accident because I thought the options in the project settings were the only ones available.

Is there any discussion for Godot 4 to add an 'advanced' or 'expert' view in the project settings like some other software tools have them? So that every project setting could be changed from the Projectsettings dialog if some switch has been triggered that the user wants to see all settings?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.