now built with propellers instead of vector thrusters (btw i got a new computer)
well… i now understand what pids are, but then i realized. i accidentally discovered pids while testing stuff like:
local thrust = (target_pos - ship_pos) * 2 - ship_vel * 4
so i basically did use pids
you define a cost function that just tests one thing you want to optimise and then you do that with some variations of your parameters and chose the best ones
so it could be for exemple: set some parameters for your drone, tp drone to some point, tell it to move to a different random point and at every frame and have the score be the sum of the errors squared, do the same configuration for a batch of drones with slightly different parameters and then choose the best one and repeat
This conversation is on Discord · Reply there