Exercise 3

Exercise 3: Rotating and Translating with a Link Delay or Time Delay


Subjects covered:

  • The Virtools Process Loop
  • Link delay >1
  • Time delay
  • Shortcuts

You will need:

Assets:

Use the previous exercise.

BB:

BB Delayer in Logics\Loops folder.



Adapting the behaviour

Use a Delayer BB after the rotation and another Delayer BB after the translation.



Debugging/Tracing:

Display the elapsed time of the Delayer BB using a shortcut to its parameter output (pOut) by displaying the shortcut value:

  1. Right click on the parameter output Elapsed Time and select Copy.
  2. Right click on an empty part of the script and select Paste as Shortcut.
  3. Right click on the shortcut and select Change Parameter Display\Name and Value.

Question: What’s the difference between the link delay and the Delayer BB? Which one do you prefer and why?


Exercise 3 Solution (file is .CMO file)