# OptiTrack (NatNet)

LightAct offers 2 ways of connection with the OptiTrack server. The first type is **Auto-detect** where LightAct will find OptiTrack servers on the network so you can choose one of them in **Discovered servers** dropdown menu. The second option is to manually set the server parameters if **Auto-detect** is unchecked.

{% hint style="info" %}
**Good to know**: OptiTrack integration relies on NatNet SDK, which is created and maintained by OptiTrack.
{% endhint %}

### OptiTrack Receiver Device Node

To start receiving OptiTrack data stream insert a **OptiTrack** **Receiver** device.

![Auto-detect OptiTrack servers](/files/qpHf8vpssKCvZghwZln5)

![Manually added OptiTrack server parameters](/files/uX7WOk4RxPZfH4bt0NrZ)

On the right side, under the *Stream*, configurable properties for specific devices will be shown. After you configure them, check **Listen** checkbox inside the device node.

### Read **OptiTrack** in Layer Layouts

To use the information read by **OptiTrack** **Receiver** node in LightAct, you need to create a **Read OptiTrack** node in the layouts.

Choose **OptiTrack** **Receiver** device in a **Device** dropdown menu, or connect **Device reference** node to this input, and you are ready to go.

![](/files/a1N7udO2XPj252DdVnaW)

Read Optitrack node provides **Rigid body position**, **Rigid body orientation** and **Marker position**.


---

# 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.lightact.com/integrations/camera-and-object-tracking/node-based-tracking-workflows/optitrack.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.
