Click or drag to resize

Rigid Body 2D

Sprite Animation ControllerManual / Base Types / 2D / Rigid Body 2DBox Shape 2D

Rigid Body 2D

2D rigid physical body.

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
Sprite Animation ControllerBox Shape 2D