mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
Fixes for rename from fixed to physics
This commit is contained in:
@@ -5,7 +5,7 @@ var mousepos
|
||||
|
||||
onready var observer = $"../Observer"
|
||||
|
||||
func _fixed_process(delta):
|
||||
func _physics_process(delta):
|
||||
var modetext = "Mode:\n"
|
||||
|
||||
if (OS.is_window_fullscreen()):
|
||||
@@ -126,7 +126,7 @@ func check_wm_api():
|
||||
|
||||
func _ready():
|
||||
if (not check_wm_api()):
|
||||
set_fixed_process(false)
|
||||
set_physics_process(false)
|
||||
set_process_input(false)
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ func direction(vector):
|
||||
return v
|
||||
|
||||
|
||||
func _fixed_process(delta):
|
||||
func _physics_process(delta):
|
||||
if (state != STATE_GRAB):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user