patch iamond glitch
This commit is contained in:
parent
f92b3a6f75
commit
0b86c659e0
3 changed files with 10 additions and 8 deletions
|
@ -19,10 +19,12 @@ func _ready():
|
|||
if config.load("user://settings.cfg") == OK:
|
||||
absolute_movement = not config.get_value("config", "relative_controls")
|
||||
|
||||
func _integrate_forces(state):
|
||||
look_at(get_global_mouse_position())
|
||||
|
||||
func _physics_process(delta):
|
||||
if frozen:
|
||||
return
|
||||
look_at(get_global_mouse_position())
|
||||
var move_input = Input.get_axis("down", "up")
|
||||
var side_input = Input.get_axis("right", "left")
|
||||
if move_input > 0 and not moving:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue