RhemaGames / godot-movement

Scripts to help setup different movement profiles for kinematicBodies
GNU General Public License v3.0
1 stars 1 forks source link

Flight Simple #5

Open bflanagin opened 1 year ago

bflanagin commented 1 year ago

Simplified "Arcade style" flight

bflanagin commented 1 year ago

Work on this has started thanks to the untitled-space-frisbee-game. We are working on this and the 3rd person control simultaneously to speed things along. More on this later.

bflanagin commented 1 year ago

Final form of this tool path (for lack of a better term) is to have our code look like the below. The user shouldn't need to change anything in the scripts themselves.

func _ready():
        Movement.Init(self,"flight_simple")

func _physics_process(delta):
       Movement.process_input("flight_simple")
       Movement.flight_simple(self,delta)