# PhysicsBody

> A body is contained within a world and has 3 degrees-of-freedom, two for position and one for rotation. A body can have forces, torques and impulses applied to it. A body has three distinct types: Static: This type of body does not move under simulation and behaves as if it has infinite mass, essentially an immovable object. Static bodies never interact with other Static or Kinematic bodies. Dynamic: This type of body is fully simulated and moves according to forces and torques applied to its linear/angular velocities. It can interact with all other body types. It always has finite, non-zero mass. Kinematic: This type of body moves under simulation and moves according to its linear/angular velocities and never uses forces or torques. It only interacts with Dynamic body types. It behaves as if it has infinite mass. A body is automatically destroyed when the world it is in is destroyed. A body cannot exist outside a world.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule
* **Implements:** [IEquatable\<PhysicsBody>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public readonly struct PhysicsBody : IEquatable<PhysicsBody>
```

## Properties

| Property                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [angularDamping](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/angulardamping.md)               | The angular damping of the body. This will reduce the angular velocity over time. See [PhysicsBody.angularVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/angularvelocity.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [angularVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/angularvelocity.md)             | The angular velocity of the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [awake](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/awake.md)                                 | The awake state of the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [callbackTarget](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/callbacktarget.md)               | Get/Set the Object that event callbacks for this body will be sent to. Care should be taken with any Object assigned as a callback target that isn't a [Object](/engine/6000.3/script-reference/unityengine/object.md) as this assignment will not in itself keep the object alive and can be garbage collected. To avoid this, you should have at least a single reference to the object in your code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [collisionThreshold](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/collisionthreshold.md)       | A threshold used to control when continuous collision detection is used when a body moves. The value is used to compare the body linear velocity movement against the extents of all the shapes added to the body scaled by this threshold. If the movement exceeds the extents scaled by the threshold then continuous collision detection is used to stop tunneling. Lower values reduce the distance the body must move before continuous collision detection is used and can have a considerable impact on performance! Higher values increase the distance the body must move before continuous collision detection is used. Too low a threshold will result in continuous collision detection being used more often therefore affecting performance so this should be limited to specific bodies only. The default threshold is 0.5 which equates to half the total shape extents. The threshold is clamped to a range of 0.0 to 1.0 with 0.0 meaning continuous collision detection will always be used.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [constraints](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/constraints.md)                     | Get/Set the degrees of freedom constraints (locks) for the body of Linear X, Linear Y and Rotation Z.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [definition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/definition.md)                       | Get/Set a body definition by accessing all of its current properties. This is provided as convenience only and should not be used when performance is important as all the properties defined in the definition are accessed sequentially. You should try to only use the specific properties you need rather than using this feature.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [enabled](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/enabled.md)                             | The enabled state of the body. If false, the body and anything attached to it will not participate in the simulation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [fastCollisionsAllowed](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/fastcollisionsallowed.md) | Treat this body as high speed object that performs continuous collision detection against dynamic and kinematic bodies, but not other high speed bodies. Fast collision bodies should be used sparingly. They are not a solution for general dynamic-versus-dynamic continuous collision.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [fastRotationAllowed](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/fastrotationallowed.md)     | This allows this body to bypass rotational speed limits. This should only be used for circular objects, such as wheels, balls etc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [gravityScale](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/gravityscale.md)                   | Scales the world gravity that is applied to this body. Setting the gravity scale to zero stops any gravity being applied. Likewise, a negative value inverts gravity. See [PhysicsWorld.gravity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/gravity.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [isOwned](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/isowned.md)                             | Get if the body is owned. See [PhysicsBody.SetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowner.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [isValid](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/isvalid.md)                             | Checks if a body is valid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [jointCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/jointcount.md)                       | Get the number of joints attached to this body. Use [PhysicsBody.GetJoints](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getjoints.md) to retrieve the joints.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [linearDamping](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/lineardamping.md)                 | The linear damping of the body. This will reduce the linear velocity over time. See [PhysicsBody.linearVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/linearvelocity.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [linearVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/linearvelocity.md)               | The linear velocity of the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md)         | The center of mass position of the body in local space. This can be accessed as a union of [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md) using [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md)                                   | The calculated mass of the body, usually in kilograms. This can be accessed as a union of [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md) using [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md)       | The body mass configuration comprised of the [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md). Normally this is computed automatically as each [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) is added, removed or changed on a body. This will automatically change if the body type changes, for instance, a Static or Kinematic body always have zero mass and rotational inertia. The individual properties of the [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md) and be accessed using [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md). The [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) will be overwritten when setting this property or if [PhysicsBody.ApplyMassFromShapes](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applymassfromshapes.md) is called or when adding, removing or changing [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) with [PhysicsShapeDefinition.startMassUpdate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition/startmassupdate.md) enabled. |
| [ownerUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/owneruserdata.md)                 | Get [PhysicsUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsuserdata.md) that can be used for any purpose, typically by the owner only.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [position](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/position.md)                           | The position of the body in the world.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [rotation](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotation.md)                           | The rotation of the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md)         | The rotational inertia of the body, usually in kg\*m^2. This can be accessed as a union of [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md) using [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [shapeCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/shapecount.md)                       | Get the number of shapes attached to this body. Use [PhysicsBody.GetShapes](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getshapes.md) to retrieve the shapes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [sleepingAllowed](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/sleepingallowed.md)             | The sleeping ability of the body. If false, the body will never sleep and will be woken up. See [PhysicsBody.awake](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/awake.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [sleepThreshold](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/sleepthreshold.md)               | The threshold below which the body will sleep, in meters/sec.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [transform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transform.md)                         | The full transform of the body composed of position and rotation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md)             | Get/Set the transform object associated with the body. This can be used as a write transform and/or as a hint for debug drawing. See [PhysicsBody.transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformwritemode-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformwritemode-1.md)     | Get/Set how the [PhysicsBody.transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md) should be written to after the simulation has completed. Transform write will only occur if it is enabled on the world using [PhysicsWorld.transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformwritemode-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [type](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/type.md)                                   | A body is one of these three body types, Dynamic, Kinematic or Static, each of which determines how the body behaves in the simulation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [userData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/userdata.md)                           | Get/Set [PhysicsUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsuserdata.md) that can be used for any purpose. The physics system doesn't use this data, it is entirely for custom use.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [world](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/world.md)                                 | Get the world the body is attached to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [worldCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/worldcenterofmass.md)         | Get the center of mass position of the body in world space. This can be accessed as a union of [PhysicsBody.mass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/mass.md), [PhysicsBody.rotationalInertia](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/rotationalinertia.md) and [PhysicsBody.localCenterOfMass](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/localcenterofmass.md) using [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

## Methods

| Method                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ApplyAngularImpulse](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applyangularimpulse.md)               | Apply an angular impulse. This should be used for one-shot impulses. If you need a steady torque, use a torque instead, which will work better with the sub-stepping solver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [ApplyForce](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applyforce.md)                                 | Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [ApplyForceToCenter](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applyforcetocenter.md)                 | Apply a force to the center of mass.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [ApplyLinearImpulse](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applylinearimpulse.md)                 | Apply an impulse at a point. This immediately modifies the velocity and also modifies the angular velocity if the point of application is not at the center of mass. This should be used for one-shot impulses. If you need a steady force, use a force instead, which will work better with the sub-stepping solver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [ApplyLinearImpulseToCenter](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applylinearimpulsetocenter.md) | Apply an impulse to the center of mass. This immediately modifies the velocity. This should be used for one-shot impulses. If you need a steady force, use a force instead, which will work better with the sub-stepping solver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [ApplyMassFromShapes](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applymassfromshapes.md)               | Typically a body will automatically calculate the [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) using all the attached shapes. The [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) is automatically updated whenever a [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) is added, removed or modified. When adding many shapes to a body, you can choose to stop this automatic calculation, therefore improving performance, by disabling [PhysicsShapeDefinition.startMassUpdate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition/startmassupdate.md) for each shape being added to the body. This call will result in the [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) being calculated using the currently added [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) so is typically called after many shapes are added if they have [PhysicsShapeDefinition.startMassUpdate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition/startmassupdate.md) disabled. Alternately, if you wish to assign your own [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) then disabling the automatic calculation also makes sense. In either case, you must call this method or set [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md) before any simulation step occurs otherwise the [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) will exhibit unstable collision behaviour. The [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md) will be overwritten when calling [PhysicsBody.ApplyMassFromShapes](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applymassfromshapes.md), if [PhysicsBody.massConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration-1.md) is set or when adding, removing or changing [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) with [PhysicsShapeDefinition.startMassUpdate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition/startmassupdate.md) enabled. |
| [ApplyTorque](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/applytorque.md)                               | Apply a torque. This affects the angular velocity without affecting the linear velocity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [ClearForces](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/clearforces.md)                               | Clear any user forces that have been applied to this body. Forces on a body are automatically cleared when a simulation step completes, however under some circumstances it may be desirable to clear the forces explicitly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [CreateChain](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createchain.md)                               | Create a Chain attached to this body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [CreateShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createshape.md)                               | Create a Capsule shape, using its default definition, attached to this body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [CreateShapeBatch](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createshapebatch.md)                     | Create a batch of Capsule shapes attached to this body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Destroy](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/destroy.md)                                       | Destroy a body, destroying all attached [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) and [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md). If the object is owned with [PhysicsBody.SetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowner.md) then you must provide the owner key it returned. Failing to do so will return a warning and the body will not be destroyed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Draw](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/draw.md)                                             | Draw a body that visually represents its current state in the world. This is only used in the Unity Editor or in a Development Player.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [GetAABB](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getaabb.md)                                       | Get the world AABB that bounds all the shapes attached to this body. If there are no shapes attached to the body then the returned AABB is empty and centered on the body origin.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [GetContacts](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getcontacts.md)                               | Get all the touching contacts this body is currently participating in. Speculative collision is used so some contact points may be separated, a property available in the provided contact manifold.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [GetJoints](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getjoints.md)                                   | Get the joints attached to this body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [GetLocalPoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getlocalpoint.md)                           | Gets a local point relative to the body given a world point.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [GetLocalPointVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getlocalpointvelocity.md)           | Get the linear velocity of a local point attached to a body. Usually in meters per second.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [GetLocalVector](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getlocalvector.md)                         | Gets a local vector on a body given a world vector.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [GetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getowner.md)                                     | Get the owner object associated with this body as specified using [PhysicsBody.SetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowner.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [GetPositionAndRotation3D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getpositionandrotation3d.md)     | Get the full 3D position and rotation of the body given the specified [PhysicsWorld.TransformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformwritemode.md) and [PhysicsWorld.TransformPlane](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformplane.md). Usually both the write-mode and transform-plane of the world the body is in would be used. This can only be called when a [PhysicsBody.transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md) is assigned. Without this, an exception is thrown. See [PhysicsWorld.transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformwritemode-1.md) and [PhysicsWorld.transformPlane](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformplane-1.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [GetShapes](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getshapes.md)                                   | Get the shapes attached to this body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [GetWorldPoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getworldpoint.md)                           | Gets a world point transformed from a local point relative to the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [GetWorldPointVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getworldpointvelocity.md)           | Get the linear velocity of a world point attached to a body. Usually in meters per second.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [GetWorldVector](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/getworldvector.md)                         | Gets a world vector transformed from a local vector relative to the body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SetAndWriteTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setandwritetransform.md)             | Set the full transform of the body composed of position and rotation and also write to the associated [PhysicsBody.transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md). The [PhysicsBody.transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md) won't be written to if it isn't assigned or the [PhysicsWorld.transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformwritemode-1.md) are off. The body will always be updated however. See [PhysicsBody.transformObject](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformobject.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [SetContactEvents](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setcontactevents.md)                     | Enable/disable contact events on all shapes attached to the body. See [PhysicsShape.contactEvents](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/contactevents.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [SetHitEvents](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/sethitevents.md)                             | Enable/disable hit events on all shapes attached to the body. See [PhysicsShape.hitEvents](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/hitevents.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [SetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowner.md)                                     | Set the (optional) owner object associated with this body and return an owner key that must be specified when destroying the body with [PhysicsBody.Destroy](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/destroy.md). The physics system provides access to all objects, including the ability to destroy them so this feature can be used to stop accidental destruction of objects that are owned by other objects. You can only set the owner once, multiple attempts will produce a warning. The lifetime of the specified owner object is not linked to this body i.e. this body will still be owned by the owner object, even if it is destroyed. It is also valid to not specify an owner object (NULL) to simply gain an owner key however it can be useful, if simply for debugging purposes and discovery, to know which object is the owner.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [SetOwnerUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowneruserdata.md)                     | Set [PhysicsUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsuserdata.md) that can be used for any purpose, typically by the owner only.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [SetTransformTarget](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/settransformtarget.md)                 | Set the [PhysicsBody.linearVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/linearvelocity.md) and [PhysicsBody.angularVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/angularvelocity.md) to reach the specified transform in the specified time. The resultant transform will be closed by may not be exact. This is designed ideally for Kinematic bodies but will work with Dynamic bodies if nothing changes the assigned velocities. This will be ignored if the calculated [PhysicsBody.linearVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/linearvelocity.md) and [PhysicsBody.angularVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/angularvelocity.md) would be below the [PhysicsBody.sleepThreshold](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/sleepthreshold.md). This will automatically wake the body if it is asleep.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [WakeTouching](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/waketouching.md)                             | Wake any bodies that are touching this body via their shapes. This also works for Static bodies.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

## Static Methods

| Method                                                                                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Create](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/create.md)                       | Create a body using [PhysicsBodyDefinition.defaultDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbodydefinition/defaultdefinition.md) in the specified world.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [CreateBatch](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createbatch.md)             | Create a batch of bodies in the specified world.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [DestroyBatch](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/destroybatch.md)           | Destroy a batch of bodies, destroying all attached [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) and [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md). Any invalid bodies will be ignored. Owned bodies will produce a warning and will not be destroyed (See [PhysicsBody.SetOwner](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setowner.md)).                                                                                                                                                                                                                                                                                                                                                                                     |
| [SetBatchForce](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setbatchforce.md)         | Apply a force for a batch of [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) using a span of [PhysicsBody.BatchForce](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchforce.md). If invalid values are passed to the batch, they will simply be ignored. For best performance, the bodies contained in the batch should all be part of the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md). If the bodies in the batch are not contained in the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md), the batch should be sorted by the [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) the bodies are contained within.             |
| [SetBatchImpulse](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setbatchimpulse.md)     | Apply an impulse for a batch of [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) using a span of [PhysicsBody.BatchImpulse](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchimpulse.md). If invalid values are passed to the batch, they will simply be ignored. For best performance, the bodies contained in the batch should all be part of the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md). If the bodies in the batch are not contained in the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md), the batch should be sorted by the [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) the bodies are contained within.      |
| [SetBatchTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setbatchtransform.md) | Set the transform for a batch of [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) using a span of [PhysicsBody.BatchTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchtransform.md). If invalid values are passed to the batch, they will simply be ignored. For best performance, the bodies contained in the batch should all be part of the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md). If the bodies in the batch are not contained in the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md), the batch should be sorted by the [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) the bodies are contained within. |
| [SetBatchVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/setbatchvelocity.md)   | Set the velocity for a batch of [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) using a span of [PhysicsBody.BatchVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchvelocity.md). If invalid values are passed to the batch, they will simply be ignored. For best performance, the bodies contained in the batch should all be part of the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md). If the bodies in the batch are not contained in the same [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md), the batch should be sorted by the [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) the bodies are contained within.    |

## Structs

| Struct                                                                                                                              | Description                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [PhysicsBody.BatchForce](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchforce.md)                   | A batch item used to apply a force to a [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md).    |
| [PhysicsBody.BatchImpulse](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchimpulse.md)               | A batch item used to apply an impulse to a [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md). |
| [PhysicsBody.BatchTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchtransform.md)           | A batch item used to set the pose of a [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md).     |
| [PhysicsBody.BatchVelocity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/batchvelocity.md)             | A batch item used to set the velocity of a [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md). |
| [PhysicsBody.MassConfiguration](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/massconfiguration.md)     | This holds the mass configuration computed for a PhysicsBody.                                                                           |
| [PhysicsBody.TransformWriteTween](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformwritetween.md) | Used to define a Transform write "tween" for a body.                                                                                    |

## Enums

| Enum                                                                                                                              | Description                                                                                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PhysicsBody.BodyConstraints](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/bodyconstraints.md)       | Body constrains constrain the degrees of freedom a body when solving the simulation.                                                                                                                |
| [PhysicsBody.BodyType](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/bodytype.md)                     | A body is one of these three body types, Dynamic, Kinematic or Static, each of which determines how the body behaves in the simulation.                                                             |
| [PhysicsBody.TransformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/transformwritemode.md) | The method used to Write the body pose to the Transform. See [PhysicsWorld.transformWriteMode](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformwritemode-1.md). |
