realvirtual.io
  • Building Digital Twins with Unity and realvirtual.io
  • Basics
    • Installation
    • Demo Model
      • Old Demo Model
    • Editor User Interface
      • Hierarchy Window
      • 3D Views
      • Quick Edit
      • Move Pivot Points (Pro)
      • Selection Window (Pro)
      • Material Window (Pro)
      • Measurement (Pro)
      • Kinematic Tool (Pro)
      • Model Checker
    • Runtime UI
      • Group Manager
      • Debug Console
      • Responsiveness
      • Runtime Persistence
    • Importing and exporting
    • Folder structure
    • Tutorial
    • Physics
    • CAD import (Pro)
      • CADLink (Pro)
      • CAD Checker (Pro)
      • CAD Updater (Pro)
    • Reusable Components (Prefabs)
    • Cadenas parts4cad
    • Publishing the Digital Twin
    • Revision management
  • News
  • Login & Download Updates (Pro)
  • Components & Scripts
    • Realvirtual
      • Environment Controller
    • MU, Source and Sink
      • Source
      • Sink
    • Motion and Kinematic
      • Drive
      • Kinematic
      • Group
      • Joint
      • CAM
      • TransportSurface
      • Guided Transport
      • KinematicMU (Pro)
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • MUSwitcher
      • PartChanger
      • Cutter
    • Scene Interaction
      • Tooltip (Pro)
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables (Pro)
      • Lamp
      • Interact3D
      • UI components
      • HMI components (Pro)
        • Start your own HMI
        • HMI Tab
        • HMI DropDown
        • HMI Puschbutton
        • HMI Switch
        • HMI Value
        • HMI Text
        • HMI Slider
        • HMI Message
        • HMI Marker
      • ModelZoo (Pro)
    • Interfaces
      • Interface Tools
        • Signal Manager
        • Signal Importer Exporter
        • Signal Catcher
        • OnValueChangedReconnect
      • Signal Importer / Exporter
      • ABB RobotStudio (Pro)
      • Denso Robotics (Pro)
      • EthernetIP (Pro)
      • Fanuc (Pro)
      • FMI
      • Igus Rebel
      • MQTT (Pro)
      • Modbus (Pro)
      • OPCUA (Pro)
      • PLCSIM Advanced (Pro)
      • RoboDK (Pro)
      • RFSuite (Pro)
      • SEW SimInterface (Pro)
      • Siemens Simit Interface (Pro)
      • Simit Shared Memory (Pro)
      • Simulink (Pro)
      • S7 TCP
      • TwinCAT (Pro)
      • TwinCAT HMI (Pro)
      • UDP (Pro)
      • Universal Robots (Pro)
      • Wandelbots Nova (Pro)
      • Websocket (Pro)
      • Windmod Y200 (Pro)
      • Custom Interfaces
    • Performance Tools
      • Combine Meshes (Pro)
      • Create Prefab (Pro)
      • Hierarchy Cleanup (Pro)
      • Mesh Optimizer (Pro)
      • Performance Optimizer (Pro)
    • Defining Logic
      • Unity Scripting
      • Behavior Graph
      • Logicsteps
      • Unity Visual Scripting
      • Recorder
    • Robot Inverse Kinematics (Pro)
    • Volume Tracking (Pro)
  • Multiplayer (Pro)
  • Extensions
    • ModelZoo
      • Beckhoff TwinCAT
      • Siemens S7
      • Denso Cobotta 1300
      • Wandelbots Nova Fanuc CRX
      • Universal Robots UR10
      • Fanuc Roboguide
    • realvirtual.io AIBuilder
      • realvirtual.io AI Builder Overview
      • Generate AI Training Data
      • AI Training
        • Ultralytics Yolo
      • Testing AI in a Digital Twin
      • Deploying the AI
    • realvirtual.io Simulation
      • Conveyor Library
      • Path System
        • Path finding
        • Line
        • Curve
        • Workstation
        • Catcher
        • Pathmover
    • realvirtual.io Industrial Metaverse
      • Setup Guide
      • VR Modules
      • AR Modules
      • Multiuser
    • AGX Physics
    • VR Builder
    • CMC ViewR
  • Advanced Topics
    • Render Pipelines
    • Mixed Reality with Meta Quest3
    • Upgrade Guide
      • Upgrade to 2022
    • Open Digital Twin Interface
    • Usefull Addons
    • Improving Performance
    • Supported Platforms
    • Compiler Defines
    • For Developers
      • Important Classes and Interfaces
      • Assembly Definitions
      • Starting your development
      • Class documentation
      • realvirtual Init Sequence
      • realvirtualBehavior Lifetime Methods
      • Testing
    • Newtonsoft JSON
    • Troubleshooting
  • Release Notes
  • AI Digital Twin Assistant (GPT4)
  • License Conditions
Powered by GitBook
On this page
Edit on GitHub
  1. Basics
  2. Demo Model

Old Demo Model

First experiences with realvirtual.io based on the demo model

PreviousDemo ModelNextEditor User Interface

Last updated 1 month ago

This is a description of the old demo model which was used unitl realvirtual 6.0.1. It is still inside of our delivery and you find it under Assets/realvirtual/Scenes/DemoRealvirtualOld.unity

The old demo model looks like this:

Start the old demo model

The demo model can be started with the play button. You will get a Scene view and a Game View. If the Game View window is not opened, it will open automatically on start. You can navigate in the scene in both views. The Game View is a preview of the later on the compiled version of Unity. On low performance computers the Game View is a little bit slower, than in the final Player version. On good performing computers the difference is negligible.

Mouse navigation

You can navigate in the scene with the mouse or keyboard:

(Mouse) Key
Action

Right Mouse Button

Rotate scene

Middle Mouse Button Wheel

Zoom in and out

Middle Mouse Button

Pan in a direction

Right Arrow Key

Move the scene to the right

Left Arrow Key

Move the scene to the left

Up Arrow Key

Move the scene up

Down Arrow Key

Move the scene down

Shift + Up Arrow Key

Zoom into the scene

Shift + Down Arrow Key

Zoom out of the scene

T

Top view

F

Front view

B

Back view

L

Left view

R

Right view

F1,F2,F3

Saved views which can be extended

Touch navigation

It is also possible to use touch navigation on mobile devices or windows computers with touch screens.

You can pan with one or two fingers. With two fingers it is possible to rotate, pan and zoom. With three fingers the scene can be tilted.

Space Navigator

If you have a 3D mouse from 3DConnextion you can use the mouse to navigate in the 3D scene.

Some more information about the demo model

Game4automation object (prefab)

3D Components

The demo model is based on several pre-prepared 3D components like the conveyor, the handling system and the robot. These components were created just for demo purposes.

The 3D components in the demo scene are Handling, ConveyorCan, ConveorBox, Cabinet, Robot)

Interfaces

Signals

Each interface can be of a certain type (S7TCP, Shared Memory, PLCSIM Advanced and so on) and can contain several signals. Signals are usually imported from the counterpart of the interface (for example if Simit is up and running, the signals can be automatically imported from Simit) or signals can be manually created based on the prefabs. See more about Signals and Signal types in Section Interface. In the model you will find several signals, for example CanGripperClosed,GantryYStart and so on. On a signal you always see the signal value in the Hierarchy view. For example False and True for boolean signals. PLC-Inputs (which means outputs from Unity) are in red. PLC-Outputs (which means inputs to Unity) are in green.

Sources and MUs

PLCs

The control logics inside the model are using signals for controlling the model mainly for demo purposes. If you just want to control the model, you can also control the public properties on the drives or sensors directly. See more in Section PLC.

UI

You can add UI components to a scene. These UI components can be connected to signal inputs or outputs of the PLC. For example, this is very useful when you want to replace real buttons with virtual ones in your model. In the UI components you find several elements to control the model. During simulation you can see in the Game-Window the UI elements:

The UI elements can be opened and closed by clicking on the slider button in the middle of the bottom corner of the screen. Additional buttons and tabs can be added to your own models as you would like.

The first step for creating a new model, is to place the Realvirtual prefab into the scene. This object handles the overall settings, provides a base plate, the basic lighting and the scene navigation in game mode. You need to use this in every model you build. You can change the parameters of the base plate or the lighting by clicking on the objects. This will override the inherited properties from the realvirtual.io Asset. For more information about Prefabs and inheritance please check the Unity documentation about or check the .

With realvirtual.io Professional you can import your own CAD data based on step files. Please check the section .

The model is equipped with one demonstration Interface. It is an S7 to the Siemens Controller. For more information about interfaces please check Section Interface. For demo purposes, in the demo model the interface is turned off so that the model can run in the absence of any external software connections. Nevertheless, signals are created for the interface, and the full model is controlled by a script substituting for a PLC, to handle the signal events.

The objects, which are moving based on Physics, are called (= movable unit) in realvirtual.io. The model has two sources. One for the cans (CAN)= and one for the blue plastic box (PlasticBox). The are automatically creating a copy of itself (this is called spawning in Unity). It is always good practice, to place the newly created s as sub object of a special object in the hierarchy. In the demo model this is the object MU. During simulation runtime you will find all dynamically created s under MU.

Because we don't have real PLCs connected to the demo model, we programmed some simple control logic to drive the model. These control logics are communicating with the behavior models of the drives and sensors by using the Signals in the interface section.

Control logics inside the model are using signals for controlling the model mainly for demo purposes. If you just want to control the model, you can also control the public properties on the drives or sensors directly. See more in Section

In the Demo model we used for defining the "PLC" logic. You can also use our , or Playmaker if you would like to use more visual approaches.

© 2025 realvirtual GmbH - 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.

Prefabs
Unity video tutorial
CADImport
MU
Sources
MU
MU
Defining Logic.
Unity Scripting
Logicsteps
Unity Visual Scripting
https://realvirtual.io
Interface
The old ard demo model