Hello, I'm trying to create a kinematic body only by node-less script, but can't figure out how to override _physics_process.
My mind process:
I have a script that extends Object
extends Object
and then I have a function that creates a new Kinematic body when called
func createBody():
player=KinematicBody2D.new()
and lastly a getter that returns the Kinematic Body
func getBody():
return player
But where and how should I add the _physics_process for this KinematicBody, is it even possible?