Setting up a Conveyor System
The L2 Structure category of the Physics Toolbox contains
dummies that can be duplicated to build a system of similar components. By using the
Pick feature in the advanced options of the control, these components
can start and stop by means of a single control tile. By creating a custom structure with parts of
identical names, you may also take advantage of the Pick feature to
govern the custom structure with the control tile as well.
Setting up the Conveyor System
-
Apply the Conveyer_Straight dummy from the Physics Toolbox > L2 Structure category.
-
Duplicate and transform the dummy to several identical parts. You may notice that the
control tile panel will also be duplicated to same number ones.
-
Apply the Conveyer_Curve dummy from the Physics Toolbox > L2 Structure category.
Control Structures with Same Control Tile
After you duplicate and apply dummies from the L2 Structure category,
the 3D viewer will be filled up with controls, which might obscure your view of your project.
You are able to merge multiple controls into a single one by picking the desired structures
or dummies so that you may start and stop the entire custom system via a single control tile panel user
interface.
-
Select one of the dummies.
-
Right click on the 3D viewer and then select the Lua Script >
Remove Lua Script command to remove the control tile panel from the
dummy.
|
|
Remove the control tile panel with right-click menu.
|
One control tile panel is removed.
|
-
Repeat the step to remove all control tile panels except for one of them.
-
Open the Advanced Options in the control.
-
Click the Pick button and then pick the dummy whose control tile panel is removed.
-
Repeat previous step so that all the dummies without control tile panel will be
governed by the only one control tile panel.
-
Place another dynamic rigid body on the system and click the play
button on the control to operate the entire conveyor system.
Governing Custom Structure
You are able to govern a custom physics structure via an existing control tile panel only if the components that make up the custom structure have identical names to the components that make up the actual L2 Structure dummy.
-
Create a custom structure containing a block and ten cylinders perpendicular to your original conveyor set.
-
In the Scene Manager, make sure the names and the structures of the parts are identical to the existing dummy whose
control tile panel will govern the custom structure later.
|
|
The two structures have identical names and hierarchies.
|
-
Open the Advanced Panel of the existing control.
-
Click the Pick button and then click on the root of the custom structure in the Scene Manager.
This step ensures the custom structure is under control of the same control tile.
-
Click the play button on the control to start the animation of the dummy and the custom structure.