---
title: Delta(RigidTransform, RigidTransform)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/rootmotionutility/delta
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/rootmotionutility/delta.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:12:58.156Z
locale: en-us
---

# Delta(RigidTransform, RigidTransform)

> Computes the difference between two root motion deltas, the way AnimationStreamBlendingExtensions.Delta computes the difference between two poses.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
public static RigidTransform Delta(RigidTransform input, RigidTransform subtract)
```

### Parameters

**** (\[RigidTransform]\(/engine/7000.0/script-reference/unity/mathematics/rigidtransform)): The input delta.**** (\[RigidTransform]\(/engine/7000.0/script-reference/unity/mathematics/rigidtransform)): The delta to subtract.

### Returns

| Type                                                                                  | Description                        |
| ------------------------------------------------------------------------------------- | ---------------------------------- |
| [RigidTransform](/engine/7000.0/script-reference/unity/mathematics/rigidtransform.md) | The difference between the deltas. |

### Remarks

The result is `Add(Inverse(subtract), input)`. It matches the stream operation only when the root of both clips starts the frame at the identity transform.
