# OvrRigidBody

### 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="/pages/TywMgJkFNTWZueOSFu3m">OvrRigidbodyActionType</a></td><td>Action type [<a href="/pages/TywMgJkFNTWZueOSFu3m">Force</a>, <a href="/pages/TywMgJkFNTWZueOSFu3m">ExplosiveForce</a>, <a href="/pages/TywMgJkFNTWZueOSFu3m">RelativeForce</a>]</td></tr><tr><td>Space</td><td><a href="/pages/qK5H82APaRXlUUO8sWng">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/pages/BBHgbJJLYWeg7plU4lku">OvrDirection</a></td><td>Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>ForceValue</td><td><a href="/pages/XQfQFoPQbUdpQHI6RGlQ">OvrFloat</a></td><td>Force magnitude</td></tr><tr><td>UpwardsModifier</td><td><a href="/pages/XQfQFoPQbUdpQHI6RGlQ">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.](/files/7XzsRqkUSmKDu3p8NI3j)

#### 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="/pages/TywMgJkFNTWZueOSFu3m">OvrRigidbodyActionType</a></td><td>Action type [<a href="/pages/TywMgJkFNTWZueOSFu3m">Torque</a>, <a href="/pages/TywMgJkFNTWZueOSFu3m">RelativeTorque</a>]</td></tr><tr><td>Space</td><td><a href="/pages/qK5H82APaRXlUUO8sWng">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/pages/BBHgbJJLYWeg7plU4lku">OvrDirection</a></td><td>Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>ForceValue</td><td><a href="/pages/XQfQFoPQbUdpQHI6RGlQ">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.](/files/jAtQBerSkGciDkBpw3E6)

#### 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="/pages/TywMgJkFNTWZueOSFu3m">OvrRigidbodyActionType</a></td><td>Action type [<a href="/pages/TywMgJkFNTWZueOSFu3m">MovePosition</a>, <a href="/pages/TywMgJkFNTWZueOSFu3m">MoveRotation</a>]</td></tr><tr><td>Space</td><td><a href="/pages/qK5H82APaRXlUUO8sWng">OvrSpace</a></td><td>World or Local space</td></tr><tr><td>Direction</td><td><a href="/pages/BBHgbJJLYWeg7plU4lku">OvrDirection</a></td><td>[Move position only] Direction of the force applied</td></tr><tr><td>CustomDirection</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Custom only] Custom direction vector</td></tr><tr><td>Quaternion</td><td><a href="/pages/530PnZhC3E3vvJ2z2LJo">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.](/files/KFUfjs4MuK2OvUhsDYvr)

#### 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="/pages/TywMgJkFNTWZueOSFu3m">OvrRigidbodyActionType</a></td><td>Action type [<a href="/pages/TywMgJkFNTWZueOSFu3m">ResetVelocity</a>]</td></tr></tbody></table>

![Example of OvrRigidBody, to reset Rigidbody Velocity.](/files/C9KgbhPmbUq2chF27Cmu)

#### 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="/pages/TywMgJkFNTWZueOSFu3m">OvrRigidbodyActionType</a></td><td>Action type [<a href="/pages/TywMgJkFNTWZueOSFu3m">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](/files/qTKqdJ7NbdbD5fB7QRgw)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrrigidbody.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
