XY PID Controller

This is a simple x and y-axis PID controller made with planck.js (a JS physics engine). The idea is based on an article by Vazgriz about PID Controllers in Unity3D. The article gives a practical explanation on proportional, integral and derivative control. The cool thing about all this is that you will need very little code (pid-controller.js).

Physics Simulation


git clone https://robinkrens.nl/repo/xy-pid-controller


Checkout the following demo to tune PID values and see the real time effects!

XY PID Controller

More info

© robinkrens.nl - page generated at 2024-01-24