Jacob Ibáñez 🔒<p>Aquest matí m'he llevat completament ignorant del fet que m'aniria a dormir:</p><p>1. Entenent que és un control·lador PID, per a què serveix i com funciona.<br>2. Implementant-ne un amb <a href="https://xarxa.cloud/tags/gdscript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gdscript</span></a> </p><p>🤯🤯🤯</p><p>Ara la vagoneta s'equilibra sola rotant cap al centre de massa, oscil·lant lleugerament. D'aquesta manera, és molt més difícil que volqui.</p><p>Teniu una explicació més detallada amb el codi font a <a href="https://forum.godotengine.org/t/how-to-balance-a-rigidbody2d/46653/11" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">forum.godotengine.org/t/how-to</span><span class="invisible">-balance-a-rigidbody2d/46653/11</span></a></p><p><a href="https://xarxa.cloud/tags/GodotEngine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GodotEngine</span></a> <a href="https://xarxa.cloud/tags/GameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameDev</span></a> <a href="https://xarxa.cloud/tags/PIDController" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PIDController</span></a> <a href="https://xarxa.cloud/tags/GameMaths" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameMaths</span></a></p>