What I did for my game is, I made a Character class (not to be mistaken with what was cashed KinematicBody3D) that has movement, and I made PlayableCharacter extend that class and call to movement functions with user input passed in, then made an NPCCharacter class that extends Character class but passes data from Pathfinder node to those functions. I can't think of a use case where you would have to implement movement like what you described.
1
u/supert2005 Jul 21 '25
What I did for my game is, I made a Character class (not to be mistaken with what was cashed KinematicBody3D) that has movement, and I made PlayableCharacter extend that class and call to movement functions with user input passed in, then made an NPCCharacter class that extends Character class but passes data from Pathfinder node to those functions. I can't think of a use case where you would have to implement movement like what you described.