system
1
|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
jarlowrey |
I was following the tutorial here. Using 3.0. Script is attached to a KinematicBody2D node. Script has the following code:
extends KinematicBody2D
func _ready():
#set_process(true) #Works!
set_fixed_process(true)
func _fixed_process(delta):
pass
_fixed_process
has been changed to _physics_process
.
You also don’t need to do the set_x function calls anymore with godot 3.
system
2
|
|
|
|
Reply From: |
volzhs |
like what @acorn said, you need to use _physics_process
not _fixed_process
You are looking at wrong version document.
look v3.0 document if you are using Godot 3.0
you can change document version from here
Ah I figured it’d be something like this. Thanks!
jarlowrey | 2018-01-31 13:53