# angularVelocity

> The angular velocity of the Rigidbody or ArticulationBody that belong to the collider that your Component collides with (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public Vector3 angularVelocity { get; }
```

### Remarks

The angular velocity of the [Rigidbody](/engine/6000.7/script-reference/unityengine/rigidbody.md) or [ArticulationBody](/engine/6000.7/script-reference/unityengine/articulationbody.md) that belong to the collider that your [Component](/engine/6000.7/script-reference/unityengine/component.md) collides with. The returned velocity is the one recorded at the moment of collision rather than the current velocity. If the collider doesn't have a [Rigidbody](/engine/6000.7/script-reference/unityengine/rigidbody.md) or [ArticulationBody](/engine/6000.7/script-reference/unityengine/articulationbody.md) attached, this returns [\_zero](/engine/6000.7/script-reference/unityengine/vector3/zero.md).

### Examples

```csharp
using UnityEngine;

public class ExampleScript : MonoBehaviour
{
    void OnCollisionEnter(Collision collision)
    {
        // Print the angular velocity of the body we've collided with.
		Debug.Log($"Collided with: {(collision.body ?? collision.collider).gameObject.name}, angular velocity at collision time {collision.angularVelocity}.");
    }
}
```
