How do I manually change the angular mass of a rigidbody2d

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jan Heemstra
:warning: Old Version Published before Godot 3 was released.

I want a 2d rigidbody ball to roll more easily, and therefore want to reduce the angular mass: Moment of inertia - Wikipedia. How can I do this?

:bust_in_silhouette: Reply From: Jan Heemstra

Let me answer this myself: RigidBody2D has functions called set_inertia and get_inertia, which don’t set or get the inertia, but the moment of inertia, aka, the angular mass.

I was confused by the name and read over them, so I’ll leave this for future reference.