Back to Navigation PlugITs content page

"Walkthrough" PlugIT

The "Walkthrough" PlugIT allows to enables camera movements while in a first-person view.
Movements can be made by the keyboard or by a mouse click and hold with the mouse.
The "Shift" (Maj) key allows to look around if the key is held. The "Ctrl" key allows to modify the view height.
Space allows to jump.

This function only need one instance and don't need any specific ressources, so it should be used in the « Scene » group. By following the previous method, add a "Walkthrough" PlugIT, and edit the instance.

 

Parameters

1

Allows to set the camera focus angle.

2

Minimal displaying distance of the camera.

3

Maximal displaying distance of the camera.

4

Camera focal length

5

Maximal Look up.

6

Maximal Look down.

7

Camera height

8

Player mass.

9

Player speed (ogre unity).

10

Player jump force (ogre unity).

 

Parameters

11

Allows to center the camera on an object coordinates.

12

Initial position on X.

13

Initial position on Y.

14

Initial position on Z.

15

Initial angle on X.

16

Angle initial en Y

17

Angle initial en Z

18

Enables the "fly" mode when the application starts.

19

Disables the controlers by default (keyboard, mouse and multi-touch).

20

Enables the view control when the application starts.

21

Enables the camera when the application starts.


 

Action

Control

Gets control events, like the ones emitted from the Wiimote.

Disable

Disable the PlugIT.

Enable

Enable the PlugIT.

Jump

The player jumps.

Set Anglelimit

Allows to modify the maximal view angle. For this, edit the link.

Set position

Changes the camera position. For this, edit the link.

Disable control

Disables the control.

Enable control

Enables the control.

Set run speed

Changes the movement speed when the player runs. The new speed is defined in the link parameter.

Active camera

Enables the navigation camera.

Deactivate camera

Disables the navigation camera.

Set camera clipping

Changes the camera near and/or far clipping.

Set camera FOV

Changes the camera focal angle, the new focal angle is defined in the link parameter.

Set camera focal length

Changes the camera focal length longueur de focale de la caméra, the new focal length is defined in the link parameter

Enable fly mode

Enables the navigation mode "fly".

Disable fly mode

Disables the navigation mode "fly".

Get position

Gets the current position in the link parameter of the "Position" event.

 

Event

Jumped

Sends when the user jumps.

Position

Sends when the "Get position" is enabled, the link parameter contains : the X Y Z positions on the first line and the X Y Z orientation on the second.