| Parameter | Description |
|---|---|
| transformFrom | The transform used as a reference to transform from. |
| transformTo | The transform used as a reference to transform to. |
| transformPlane | The transform plane to use. |
| useScale | If the returned matrix should include scale. |
Matrix4x4 The calculated relative transformation matrix.
Get the relative transformation matrix between the two specified transforms using the specified transform plane. If PhysicsWorld.TransformPlane.Custom is used, PhysicsWorld.TransformPlane.XY will be used instead which may not provide the correct results.