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
      • 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
      • 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
  • Pathmover
  • Public properties
  • Events
Edit on GitHub
  1. Extensions
  2. realvirtual.io Simulation
  3. Path System

Pathmover

PreviousCatcherNextrealvirtual.io Industrial Metaverse

Last updated 2 years ago

Pathmover

The Pathmover is the basic component for moving along a path based on and . The Pathmover component must be on the same Game Object level as the and script.

The Pathmover is keeping its distance to the other Pathmovers by drawing 3 Raycasts. One straight on and two to the sides. As soon as the Distance (Distance / Distance Sides) is fallen below the defined values, the Pathmover starts to slow down (if the Drive has a defined acceleration) or stops immediately. As soon as the Distance is above, the Pathmover starts to speed up again.

Public properties

Leave Path If set to true the Pathmover will leave the path whenn reaching the end of a path with no successors. The MU (Transportable) will be totally under control of Physics.

Align with Path Aligns the Pathmover with the Paths tangent if true.

Distance The distance in meters, the pathmover keeps for the straight raycast

Distance Sides The distance in meters, the pathmover keeps for the side raycasts

Angle Side The angle of the side raycat. Angle Side

Draw Ray

Align Vector The vector of the Pathmover which should be aligned with the Path.

Current Station The current station of the Pathmover. The station is assigned when entering and deleted when leaving the station

Current Station Working The current working station, the value is set as soon as the working time starts in a station

Is Stopping true, when the Pathmover is slowing down.

Is Starting true, when the Pathmover is speeding up.

Is Stopped true, when the Pathmover is stopped (e.g. at the end of a path or in a station)

Is Blocked true, when the Pathmover is blocked (e.g. by another Pathover ahead)

Is On Path End true, when the Pathmover is on an end of a Path.

Path The current Path.

Position The current position in meters on the Path.

Events

The Pathmover has several events and you can assign your custom code to these events.

Path Events

OnPathEntered (SimulationPath, PathMover) Event is fired when a new Path is entered by Pathmover.

OnPathEnd (SimulationPath, PathMover) Event is fired when a Pathmover is at the end of a Path.

OnPathExit (SimulationPath, PathMover) Pathmover is leaving the Path.

OnStopping (SimulationPath, PathMover) Pathmover is starting to stop (slowing down).

OnStopped (SimulationPath, PathMover) Pathmover is fully stopped.

OnStart (SimulationPath, PathMover) Pathmover is starting (speeding up).

OnFullyStarted (SimulationPath, PathMover) Pathmover is at full speed.

OnBlocked (SimulationPath, PathMover) Pathmover is blocked.

Station Events

OnStationEntered (BaseStation, PathMover) Pathmover has entered a Station.

OnStationWorkStarting(BaseStation, PathMover) Pathmover has started the work in a Station.

OnStationWorkFinished(BaseStation, PathMover) Pathmover has finished work in a Station.

OnStationExit(BaseStation, PathMover) Pathmiver has left a Station.

Create On Path Defines the Path where the Pathmover should be created by the .

Source
MUs
Lines
Curves
MUs
Source