mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
15 lines
429 B
GDScript3
15 lines
429 B
GDScript3
|
extends Label
|
||
|
|
||
|
|
||
|
func _process(_delta):
|
||
|
var engine_name = ""
|
||
|
match System.get_physics_engine():
|
||
|
System.PhysicsEngine.BULLET:
|
||
|
engine_name = "Bullet"
|
||
|
System.PhysicsEngine.GODOT_PHYSICS:
|
||
|
engine_name = "Godot Physics"
|
||
|
System.PhysicsEngine.OTHER:
|
||
|
var engine_setting = ProjectSettings.get_setting("physics/3d/physics_engine")
|
||
|
engine_name = "Other (%s)" % engine_setting
|
||
|
set_text("Physics engine: %s" % engine_name)
|