FROM LATEST UPDATE:
* You now have interaction icons from VrControls, so that it is easier to see when interactions are possible, and to choose between grab or interact actions.
* You now can grab a female plug by hand (see VrControls), approch a male plug until it turns green, and open your hand to attach the plugs together.
* Dropping an object is always done by opening your hand.
Requires the VR Controls plugins for the sample Blueprints to work ! Without it, you will need additional work to link your own events and/or C++ code to this plugin.
Demo video
Tutorial
Propagate signals at runtime automatically and interactively. The plugin ships some signal emitters, recievers, and transmitters, but you can of course customize them or create your own.
Emitters could be buttons, terminals, pressure plates, events, etc. The plugin provides the following as examples :
- A lever with 3 positions (top, bottom, middle) and two output plugs (top, bottom). This lever is VR compatible in several ways. First, it supports physics, so you can push it, grab it, throw physics object at it, etc. Then, it implements the InteractableInterface (from VR Controls), so it can be switched at a distance by pointing at it and pressing the trigger (VR motion controller), or clicking (mouse). The output plugs send signal 1 when the lever is switched toward them, else 0.
Receivers could be traps, machines, doors, etc. The plugin provides the following as examples :
- A door which opens when its input plug receives 1 and shuts when it receives 0.
- A light which lits up when its input plug receives 1 and shuts when it receives 0.
Transmitters could be wires, pipes, wireless, etc. The plugin provides the following as examples :
- A first cable propagates the signal instantly from its input plug to its output plug. You can plug, unplug and move it at runtime. Signals are updated accordingly and propagated to all signal actors down the line. The plugs also change material when entering or leaving focus, such as when you are approaching another plug that can connect to it. Both plugs implement the InteractableInterface (from VR Controls), so they can be plugged/unplugged at a distance by pointing at them and pressing the trigger (VR motion controller), or clicking (mouse). They also support physics, so you can grab and move them around.
- A second cable is the same except it propagates signals with a delay and lights up progressively from its input plug toward its output plug.
- A signal multiplexer with one input plug and an output plug which can be connected to multiple outputs.