RigidBody2D apply_force with position parameter. How to use?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By OgGhostJelly

How does the position parameter in apply_force work?
If I were to apply a force to the bottom left corner of a rigidbody what would that look like using apply_force?

nevermind I finally figured it out, the position parameter in apply_force is the offset from the rigidbody’s center not taking rotation into account

so to answer my previous question on how to apply force to the bottom left corner of a rigidbody that would be
apply_force(to_global(Vector2(-64, 0) - global_position))
This takes the bottom left corner of the rigidbody even if the rigidbody is spun around.

:bust_in_silhouette: Reply From: OgGhostJelly

I edited my message to have the answer, If anyone has any more questions and they’re still confused feel free to ask.