Rigid Body 2D
Overview
Properties| Name
| Description
|
|---|
| Motion Type
| The type of motion used.
|
| Mass
| The mass of the rigid body.
|
| Inertia
| Gets or sets the rotational inertia of the body about the local origin.
|
| Local Center
| Gets or sets the local position of the center of mass.
|
| Enable Gravity
| Whether the rigid body is affected by the gravity.
|
| Linear Damping
| The linear reduction of velocity over time.
|
| Angular Damping
| The angular reduction of velocity over time.
|
| Fixed Rotation
| Whether the body to have fixed rotation.
|
| Allow Sleep
| Allows sleep the body.
|
| CCD
| Gets or sets a value indicating whether this body should be included in the CCD solver.
|
| Linear Velocity
| The initial linear velocity of the body.
|
| Angular Velocity
| The initial angular velocity of the body.
|
| Contacts Display
| Whether to display collected collision contacts data.
|
| Active
| Gets the sleep state of the body. A sleeping body has very low CPU cost.
|
See also