I am practising programming games with the Godot Engine and I've been having some issues with RigidBody2Ds.

In this case I have a RigidBody2D as a child of a Node2D. The Node2D is rotating and the RigidBody2D with it. However, as soon as I use apply_impulse() it just returns to it's initial rotation point, which is zero.

Does anyone know what's going on here?

  • \$\begingroup\$ Hi, could you post your code so that we can get a better idea of what's going on? Thanks. \$\endgroup\$ – TARDIS Maker Feb 17 '18 at 23:45
  • \$\begingroup\$ More generally: What exactly are you trying to achieve? \$\endgroup\$ – Timo Schwarzer Apr 25 '18 at 17:56
  • \$\begingroup\$ That's definetely a strange behaviour since aplly_impulse just increments linear and angular velocities, and not resets anything \$\endgroup\$ – 648trindade Aug 9 '18 at 13:54

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.