Example 1 - Camera

For the Camera Example, we have created three Camera Motors, two follow and one fixxed, and swtich betwen them using onkeydown triggers for alpha 1, 2 and 3.

We have aso added the OnScrollWheel trigger that comes with this pack, and executed the FOV follow and fixed Camera range. Here you can set a minimum and maximum FOV by using the Range slider in the Action.

The min/max range slider is a custom property draw and has also been included for thoes who wish to create theirown Actions.

The OnKeyDown triggers for Q and E will orbit the follow camera when it is active, and the OnKeyDown triggers for R and T will rotate the fixed camera when Action. The speed and direction can be set for both within the Action.

Within the OnStart Trigger, you will see that we have used both mirror and normal camera Actions. The Action "Add Mirror Camera to Object" will add a camera to the same object that will display the Image.

The settings for this are self explanitory but may need to be adjusted for your use of this camera.

To acheive an actual Mirror, you will need to invert the plane by selecting it with the Rect Tool and dragging it across itself to invert itself.

This example also has used the Action "Add Camera to Object" and added the camera to a cube, with the display on a plane elsewhere. This can be used to simulate a security camera, and can even be rotated by adding a rotate Action (Action Pack 1) to the cube.

Last updated