GarbajYT / godot_updated_fps_controller

An updated basic fps controller for Godot 3.3 and 4.0
MIT License
240 stars 50 forks source link

Very outdated 4.0 code #14

Open m1zukash1 opened 2 years ago

m1zukash1 commented 2 years ago

linear_interpolate() was replaced by lerp() the class is now called CharacterBody3D velocity is now the actual value within the class and many other stuff that i missed

hlafaille commented 2 years ago

move_and_slide_with_snap() is not found in base self either.

aseiis commented 1 year ago

also: deg2rad() is now deg_to_rad() velocity is now a value of CharacterBody3D and should not be passed with the move_and_slide which now must be called without args. This also implies that the use of snap must be rewritten. Engine.iterations_per_second is now Engine.physics_ticks_per_second, I guess set_as_toplevel() function is now top_level property