title: How can I attract Rigidbody 2d nodes to the player (using point gravity) even when the player is moving in Godot?
body: <p>So I am asking this question here because I haven't gotten a response on the official Godot forum. I am really hoping someone answers here :),</p>
  <p>I am making a game using Godot 3.0, and the main functionality is the player uses their gravity to direct and divert enemies from a target.</p>
  <p>I am stuck on this, as I am new to Godot and unsure as to how to attract rigidbody2d's using point gravity from area2d. Currently, my player and enemies collide and the player can hinder the enemies movement by this, but the AoE gravity does not affect enemies.</p>
  <p>I am open to any suggestions, or other ways to do it. Code examples would be greatly appreciated :) (I am using Godot script)</p>
  <p>Currently, my scene consists of:</p>
  <p>Player (KinematicBody2D)</p>
  <ul>
  <li>PlayerCollision (CollisionShape2D)</li>
  <li>Sprite (Sprite)</li>
  <li>area2D (area2D)
  <ul>
  <li>CollisionShape2D (CollisionShape2D)</li>
  </ul>
  </li>
  </ul>
  <p>Enemy (RigidBody2D)</p>
  <ul>
  <li>Sprite (Sprite)</li>
  <li>CollisionPolygon2D (CollisionPolygon2D)</li>
  <li>area2D (area2D)
  <ul>
  <li>CollisionPolygon2D (CollisionShape2D)</li>
  </ul>
  </li>
  </ul>
  <p>And other things but they are not necessary.</p>
  <p>If you need my code/project I am happy to provide it. Constructive Criticism is appreciated</p>