MU
(Movable Unit)
Last updated
(Movable Unit)
Last updated
Movable Units (MUs) are objects that move freely around in the scene. They can be picked or loaded and they can be placed on Transport Surfaces. MUs are created by a Source and deleted by a Sink.
The MU script is automatically attached to all objects created by a Source. As a user, you don’t need to interact with the MU script at all, except when the script itself publishes information or requests some input.
This is the Inspector Window for an MU script:
ID, GlobalID (Readonly)
Each MU automatically receives a global ID (this is globally unique) and a source ID (this is only unique to the Source).
MU Appearance
List of differnt MU appearances, used by the Part Changer.
Fixed By (Readonly)
Fixer/Gripper which is currently fixing the MU.
Last Fixed By (Readonly)
Fixer/Gripper which has been fixing the MU last time.
Loaded On (Readonly)
MU where this MU is loaded on.
Standard Parent (Readonly)
Parent Gameobject before MU has been loaded.
Parent before Fix (Readonly)
Parent Gameobject before MU has been Gripped / Fixed.
Collided with Sensors (Readonly)
Current Sensors which are colliding with this MU.
Loaded MUs (Readonly)
Current loaded MUs on this MU.
Surface Align Smoothment
Smoothment parameter for aligning MU with Transport Surface - only used by realvirtual.io Simulation.
Unfix Speed Interpolate
Normally, if a Gripper is opening, an MU will directly fall down without a horizontal movement, even if the Gripper has a speed when opening. With this speed interpolate, the speed of movement before opening the Gripper is interpolated and transfered to the MU when opening the Gripper. With this it is possible to “throw” objects.
Events can be used if your are programming your own scripts and you want to be notified about certain events.
Event MU Deleted
Event when the MU is going to be deleted.
Event MU Is Loaded
Event when the MU is loaded on another MU.
Event MU Gets Load
Event when an MU is loaded on this MU.
Event MU Sensor
Event if the MU is colliding with a Sensor.
© 2022 in2Sight GmbH 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.