> For the complete documentation index, see [llms.txt](https://doc.realvirtual.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.realvirtual.io/components-and-scripts/motion.md).

# Motion and Kinematic

Motion axes are modeled by connecting [Drives](/components-and-scripts/motion/drive.md) to GameObjects. The [Drive](/components-and-scripts/motion/drive.md) will move the GameObject, including its sub-components, along a defined rotational or linear axis. The [Drive](/components-and-scripts/motion/drive.md) is a base component with some generic [Drive](/components-and-scripts/motion/drive.md) behavior but it does not expose a Signal interfaces to a PLC. For this a [Drive Behavior](/components-and-scripts/motion/drive-behavior.md) script is added in addition to the [Drive](/components-and-scripts/motion/drive.md) script for the GameObject. The [Drive Behavior](/components-and-scripts/motion/drive-behavior.md) includes special behaviors (such as pneumatic cylinders or position controlled drives) including any signals supporting the special behavior.

{% hint style="info" %}
The standard units for drive positions in all realvirtual.io components are millimeters for linear drives and degrees for rotational drives. The standard units for speeds are millimeters per second and degrees per second. In Unity, each millimeter is represented as one Unity unit (which means what you see in the Transform component in Unity is in meters). You can adjust the scale in **realvirtualController**, but this is generally not recommended.
{% endhint %}

This Youtube tutorial shows how to define [Drives](/components-and-scripts/motion/drive.md)

{% embed url="<https://youtu.be/VoAYuNF4kRM>" %}
Tutorial Adding Drives
{% endembed %}

> We supply seveal standard Behavior models, but due to the large variety of automation devices and functionality, it is most likely you will need to add your own behavior models.

The next image gives a good overview of [Drives](/components-and-scripts/motion/drive.md) moving GameObjects. The [Drive](/components-and-scripts/motion/drive.md) is contolled by a special Drive Behavior which is connected to one or more Signals. The Signals are then connected to a PLC (using an [Automation Interface](https://game4automation.com/documentation/current/interface.html))

<figure><img src="/files/3HeqYS1UPNVEG7vCsFC7" alt=""><figcaption></figcaption></figure>

© 2025 realvirtual GmbH [https://realvirtual.io](https://realvirtual.io/) - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.realvirtual.io/components-and-scripts/motion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
