RealityHub 1.3
Search…
⌃K

Triggering Multiple Actions via Single Button

It is possible to trigger multiple actions with a single button. To do that:
Node Tree
  • Create the Node Tree as shown in the image above
Advanced Preview Monitor (APM)
  • Activate the Advanced Preview Monitor (APM) on the Program output pin of the Mixer node
  • Change your camera angle by adjusting the UserTransform property values of the UserTrack node through the GamePad
  • You can optionally align the Particle Control, Animation Control, and Spotlight for better control, as shown above.
  • Activate the Actions module and click on the Create button, rename it if you like
  • Select the Particle Control node, go to its Functions, right-click on the Play property menu circle, select the Timeline
  • Select the Animation Control node, go to its Functions, right-click on the Play property menu circle, select the Timeline
  • Select the Spotlight node, go to its Properties, right-click on Turnedon property menu circle, and select the Timeline
  • Go to the Actions module:
  • Right-click on the Play function menu circle of the Start Particles property group, select the Add Keyframe option
  • Right-click on the Play function menu circle of the Play/Stop Ball Animation property group, select the Add Keyframe option
  • Right-click on the Turnedon property menu circle of the Lightsettings property group, select the Add Keyframe option
  • Save the Action
The action above will trigger all Properties/Functions.
Now:
  • Click on the New Action button, rename it if you like
  • Create a reverse version of the Action animation by repeating the same steps explained above except with two differences:
  • Click on the Turnedon checkbox and deactivate it before you take it to the Action Timeline
  • Add the Stop function of Animation Control node to the Timeline instead of the Play function.
  • Save the Action
  • Activate the Form Builder module, click on the New Form button, rename it if you like
  • Drag and drop the Action Play buttons of the first and second animations to Form Area, and customize it if you like by clicking on the Field Setting button
  • Save the template Form