RigidBody2D Properties |
The RigidBody2D type exposes the following members.
Name | Description | |
---|---|---|
Active |
Gets the sleep state of the body. A sleeping body has very low CPU cost.
| |
AllowSleep |
Allows sleep the body.
| |
AngularDamping |
The angular reduction of velocity over time.
| |
AngularVelocity |
The initial angular velocity of the body.
| |
AnyData |
The user data of the component.
(Inherited from Component.) | |
BaseType |
Gets the base type of the object.
(Inherited from Component.) | |
CanBeSelected |
Whether the object is selectable in the scene view.
(Inherited from ObjectInSpace.) | |
CanBeSelectedInHierarchy | (Inherited from ObjectInSpace.) | |
CCD |
Gets or sets a value indicating whether this body should be included in the CCD solver.
| |
CloneSupport |
Whether the object supports cloning.
(Inherited from Component.) | |
Components |
Gets the collection of the child components.
(Inherited from Component.) | |
ContactsDisplay |
Whether to display collected collision contacts data.
| |
CreatedByBaseType |
Whether the object is created using a base type.
(Inherited from Component.) | |
DisplayInEditor |
Whether to show the object in the editor.
(Inherited from Component.) | |
Disposed |
Whether the object is disposed.
(Inherited from Component.) | |
EditorDocumentConfiguration |
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component.) | |
EditorReadOnly |
Whether the object is read only in the editor.
(Inherited from Component.) | |
EditorReadOnlyInHierarchy |
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component.) | |
Enabled |
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component.) | |
EnabledInHierarchy |
Determines whether the object is attached to a hierarchy of the components and enabled. The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component.) | |
EnabledInHierarchyAndIsInstance |
Determines when the object is attached to a hierarchy of the components, is enabled and the object if not part of a resource (it is usual object instance). The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component.) | |
EnabledSelectionByCursor | (Inherited from ObjectInSpace.) | |
EnableGravity |
Whether the rigid body is affected by the gravity.
| |
FixedRotation |
Whether the body to have fixed rotation.
| |
HierarchyController |
Gets the object hierarchy control controller.
(Inherited from Component.) | |
Inertia |
Gets or sets the rotational inertia of the body about the local origin.
| |
LinearDamping |
The linear reduction of velocity over time.
| |
LinearVelocity |
The initial linear velocity of the body.
| |
LocalCenter |
Gets or sets the local position of the center of mass.
| |
Mass |
The mass of the rigid body.
| |
MotionType |
The type of motion used.
| |
Name |
The name of the component.
(Inherited from Component.) | |
NetworkID | (Inherited from Component.) | |
NetworkIsClient | (Inherited from Component.) | |
NetworkIsServer |
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component.) | |
NetworkIsSingle | (Inherited from Component.) | |
NetworkIsSingleOrClient | (Inherited from Component.) | |
NetworkMode |
Whether to enable synchronization of the component between server and clients.
(Inherited from Component.) | |
NetworkModeUsers | (Inherited from Component.) | |
Parent |
Gets the parent object.
(Inherited from Component.) | |
ParentRoot |
Gets the parent root object.
(Inherited from Component.) | |
ParentScene | (Inherited from ObjectInSpace.) | |
Physics2DBody | (Overrides PhysicalBody2DPhysics2DBody.) | |
RemainingLifetime |
The lifetime of the component during the simulation.
(Inherited from ObjectInSpace.) | |
RemoveFromParentQueued |
Whether the object is placed in the detach queue from the parent.
(Inherited from Component.) | |
SaveSupport |
Whether the object supports saving to a file.
(Inherited from Component.) | |
ScreenLabel |
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component.) | |
SpaceBounds | (Inherited from ObjectInSpace.) | |
SpaceBoundsOctreeOverride | (Inherited from ObjectInSpace.) | |
SpaceBoundsOverride | (Inherited from ObjectInSpace.) | |
Transform |
The position, rotation and scale of the object.
(Inherited from ObjectInSpace.) | |
TransformV |
Simplier form of Transform.Value.
(Inherited from ObjectInSpace.) | |
TypeSettingsPrivateObjects |
Object settings when used as a type.
(Inherited from Component.) | |
Visible |
Whether the object is visible in the scene.
(Inherited from ObjectInSpace.) | |
VisibleInHierarchy | (Inherited from ObjectInSpace.) |