0 votes

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!

func _fixed_process(delta):
in Engine by (695 points)

_fixed_process has been changed to _physics_process.
You also don't need to do the set_x function calls anymore with godot 3.

1 Answer

+1 vote
Best answer

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

enter image description here

you can change document version from here

by (9,796 points)
selected by

Ah I figured it'd be something like this. Thanks!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.