Enum RigidBody2D.CenterOfMassModeEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RigidBody2D.CenterOfMassModeEnum : long
Fields
Auto = 0
In this mode, the body's center of mass is calculated automatically based on its shapes. This assumes that the shapes' origins are also their center of mass.
Custom = 1
In this mode, the body's center of mass is set through CenterOfMass. Defaults to the body's origin position.