> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody.md).

# OvrRigidBody

Subclass of Ovr.OvrNode

### Description

This Node is used to manage the most common interactions with the Unity [RigidBody ](https://docs.unity3d.com/ScriptReference/Rigidbody.html)Component.

It requires a RigidBody to be set up. See the [Unity Manual](https://docs.unity3d.com/Manual/class-Rigidbody.html) for more info.

Based on the action the RigidBody is required to perform, this component changes its behavior and requirements.

### Action Types

The OVER SDK provides several ways to interact with a Unity RigidBody Component. A list can be found in [OvrRigidbodyActionType](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md).

#### Force

Allows user to apply force to the target Rigidbody. Force is applied using the Unity built-in physics engine, and with different effects, based on the type of force applied.

[Force ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)simply applies force to a Rigidbody. [ExplosiveForce ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)applies force simulating explosion effects. [RelativeForce ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)applies force in relation to Rigidbody's coordinate system.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="187.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Rigidbody</td><td><a href="https://docs.unity3d.com/ScriptReference/Rigidbody.html">RigidBody</a></td><td>Unity Rigidbody Component</td></tr><tr><td>ActionType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">OvrRigidbodyActionType</a></td><td>Action type [<a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">Force</a>, <a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">ExplosiveForce</a>, <a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">RelativeForce</a>]</td></tr><tr><td>Space</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrcharactercontroller/ovrspace.md">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrdirection.md">OvrDirection</a></td><td>Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrvector3.md">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>ForceValue</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrfloat.md">OvrFloat</a></td><td>Force magnitude</td></tr><tr><td>UpwardsModifier</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrfloat.md">OvrFloat</a></td><td>[Explosive only] Adjustment to the apparent position of the explosion to make it seem to lift objects</td></tr></tbody></table>

![Example of OvrRigidBody, in this case a simple force is applied to a Rigidbody locally, in direction of forward vector.](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/3ri1JxyxnFmEuq1OA44k/rigid1.png)

#### Torque

Allows the user to add a torque to the target Rigidbody. Torque is applied using the Unity built-in physics engine, and with different effects, based on the type applied.

[Torque ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)simply applies a torque to a Rigidbody. [RelativeTorque ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)applies torque in relation to Rigidbody's coordinate system.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="187.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Rigidbody</td><td><a href="https://docs.unity3d.com/ScriptReference/Rigidbody.html">RigidBody</a></td><td>Unity Rigidbody Component</td></tr><tr><td>ActionType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">OvrRigidbodyActionType</a></td><td>Action type [<a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">Torque</a>, <a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">RelativeTorque</a>]</td></tr><tr><td>Space</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrcharactercontroller/ovrspace.md">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrdirection.md">OvrDirection</a></td><td>Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrvector3.md">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>ForceValue</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrfloat.md">OvrFloat</a></td><td>Force magnitude, for the torque</td></tr></tbody></table>

![Example of OvrRigidBody, in this case, a simple torque is applied to a Rigidbody locally, in direction of forward vector.](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/zYyIN0AG7yhlbuI6e682/rigid2.png)

#### Movement

Allows the user to apply simple movement to the target Rigidbody, by using Unity built-in physics engine.

[MovePosition ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)simply applies motion to a Rigidbody. [MoveRotation ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)rotates Rigidbody to a given rotation.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="187.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Rigidbody</td><td><a href="https://docs.unity3d.com/ScriptReference/Rigidbody.html">RigidBody</a></td><td>Unity Rigidbody Component</td></tr><tr><td>ActionType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">OvrRigidbodyActionType</a></td><td>Action type [<a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">MovePosition</a>, <a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">MoveRotation</a>]</td></tr><tr><td>Space</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrcharactercontroller/ovrspace.md">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrdirection.md">OvrDirection</a></td><td>[Move position only] Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrvector3.md">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>Quaternion</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrquaternion.md">OvrQuaternion</a></td><td>[Move rotation only] Target rotation</td></tr></tbody></table>

![Example of OvrRigidBody, in this case a rigidbody is tasked to rotate in world space in order to reach a target rotation.](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/g66rMT9azPoMKzVd6tAp/rigid3.png)

#### Reset

Allows some utility functions to better handle Rigidbodies.

[ResetVelocity ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md)allows the reset of the Velocity parameter of a Rigidbody. This is useful in order to stop the motion of a physical object in a Scene.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="187.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Rigidbody</td><td><a href="https://docs.unity3d.com/ScriptReference/Rigidbody.html">RigidBody</a></td><td>Unity Rigidbody Component</td></tr><tr><td>ActionType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">OvrRigidbodyActionType</a></td><td>Action type [<a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">ResetVelocity</a>]</td></tr></tbody></table>

![Example of OvrRigidBody, to reset Rigidbody Velocity.](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/iCD6J9cCGdZkSOKSGGdi/rigid4.png)

#### Unity Action

Executes the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Rigidbody</td><td><a href="https://docs.unity3d.com/ScriptReference/Rigidbody.html">RigidBody</a></td><td>Unity Rigidbody Component</td></tr><tr><td>ActionType</td><td><a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">OvrRigidbodyActionType</a></td><td>Action type [<a href="/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody/ovrrigidbodyactiontype.md">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](https://content.gitbook.com/content/6xdubHTzJACGqFIM7yJy/blobs/naBIGSeDq1BcPMze9STW/ovrRigidbody.png)
