# rotationDriveMode

> Control the object's rotation with either X & YZ or Slerp Drive by itself.

## Definition

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

```csharp
public RotationDriveMode rotationDriveMode { get; set; }
```
