mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #102726 from mihe/jolt/thread-safe-errors
Skip `Object::to_string` when Jolt Physics is on separate thread
This commit is contained in:
@@ -2332,6 +2332,7 @@
|
||||
</member>
|
||||
<member name="physics/3d/run_on_separate_thread" type="bool" setter="" getter="" default="false">
|
||||
If [code]true[/code], the 3D physics server runs on a separate thread, making better use of multi-core CPUs. If [code]false[/code], the 3D physics server runs on the main thread. Running the physics server on a separate thread can increase performance, but restricts API access to only physics process.
|
||||
[b]Note:[/b] When [member physics/3d/physics_engine] is set to [code]Jolt Physics[/code], enabling this setting will prevent the 3D physics server from being able to provide any context when reporting errors and warnings, and will instead always refer to nodes as [code]<unknown>[/code].
|
||||
</member>
|
||||
<member name="physics/3d/sleep_threshold_angular" type="float" setter="" getter="" default="0.139626">
|
||||
Threshold angular velocity under which a 3D physics body will be considered inactive. See [constant PhysicsServer3D.SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD].
|
||||
|
||||
Reference in New Issue
Block a user