mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-09-03 23:39:26 +03:00
Since #116041, the default mass of a soft body is 1 kg for Jolt Physics (just like Godot Physics). The demos were tweaked with the previous default mass, which is 1 kg per vertex for a total mass of >4000 kg. This change reduces the applied impulses so that the demos behave sensibly again.
72 lines
2.5 KiB
Plaintext
72 lines
2.5 KiB
Plaintext
; Engine configuration file.
|
|
; It's best edited using the editor UI and not directly,
|
|
; since the parameters that go here are not all obvious.
|
|
;
|
|
; Format:
|
|
; [section] ; section goes between []
|
|
; param=value ; assign values to parameters
|
|
|
|
config_version=5
|
|
|
|
[animation]
|
|
|
|
compatibility/default_parent_skeleton_in_mesh_instance_3d=true
|
|
|
|
[application]
|
|
|
|
config/name="Soft Body Physics"
|
|
config/description="An example of soft body physics (deformable objects) such as cloth, boxes and spheres."
|
|
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
|
|
run/main_scene="res://test.tscn"
|
|
config/features=PackedStringArray("4.7")
|
|
config/icon="uid://c5uks4gy25jah"
|
|
|
|
[debug]
|
|
|
|
settings/physics_interpolation/enable_warnings=false
|
|
gdscript/warnings/untyped_declaration=1
|
|
|
|
[display]
|
|
|
|
window/stretch/mode="canvas_items"
|
|
window/stretch/aspect="expand"
|
|
|
|
[filesystem]
|
|
|
|
import/blender/enabled=false
|
|
|
|
[input]
|
|
|
|
reset_physics_simulation={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":82,"physical_keycode":0,"key_label":0,"unicode":114,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
place_cloth={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":67,"physical_keycode":0,"key_label":0,"unicode":99,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
place_light_box={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":86,"physical_keycode":0,"key_label":0,"unicode":118,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
place_heavy_box={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":66,"physical_keycode":0,"key_label":0,"unicode":98,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[physics]
|
|
|
|
3d/physics_engine="Jolt Physics"
|
|
common/physics_interpolation=true
|
|
|
|
[rendering]
|
|
|
|
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
|
textures/default_filters/anisotropic_filtering_level=4
|
|
anti_aliasing/quality/msaa_3d=2
|
|
textures/decals/filter=5
|