-
Notifications
You must be signed in to change notification settings - Fork 0
RigidBody2D CenterOfMassModeEnum
Eduard Gushchin edited this page Jul 1, 2026
·
5 revisions
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.RigidBody2D.CenterOfMassModeEnum |
| Namespace | Electron2D |
| Kind | enum |
| Category | Physics |
Identifies how the body's center of mass should be selected.
public enum Electron2D.RigidBody2D.CenterOfMassModeEnum : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: RigidBody2D.CenterOfMassMode
Center-of-mass mode values for RigidBody2D.
This type is part of the Electron2D 0.1.0 Preview public API.
This enum is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Auto |
Enum value | Calculate the center of mass from shapes. |
Custom |
Enum value | Use Electron2D.RigidBody2D.CenterOfMass. |
Kind: Enum value
public const Electron2D.RigidBody2D.CenterOfMassModeEnum AutoCalculate the center of mass from shapes.
Use this value with APIs that accept CenterOfMassModeEnum.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RigidBody2D.CenterOfMassModeEnum
Kind: Enum value
public const Electron2D.RigidBody2D.CenterOfMassModeEnum CustomUse Electron2D.RigidBody2D.CenterOfMass.
Use this value with APIs that accept CenterOfMassModeEnum.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RigidBody2D.CenterOfMassModeEnum
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.