How to add center of mass offset (few collision shapes of RigidBody2D)

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

I have a space ship that made from blocks. Each block is a CollisionPolygon2D. But now I want to add mass for each block that should to affect center of mass position. If center of mass is shifted, ship should to rotate when you turn on engine. Also, it should affect rotation (or not, I want to try both variants)

How to do it in godot 3.2?

Ship is RigidBody2D.