mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Refactor Jolt-related project settings to only be loaded as needed
This commit is contained in:
@@ -93,7 +93,7 @@ void JoltArea3D::_add_to_space() {
|
||||
jolt_settings->mIsSensor = true;
|
||||
jolt_settings->mUseManifoldReduction = false;
|
||||
|
||||
if (JoltProjectSettings::areas_detect_static_bodies()) {
|
||||
if (JoltProjectSettings::areas_detect_static_bodies) {
|
||||
jolt_settings->mCollideKinematicVsNonDynamic = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user