This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Player Persecutor

A player persecutor is a free flying camera without a physical body that follows the target node at the specified distance. The exact point of the target it follows is called an anchor. The persecutor can either turn around its target or its viewing direction can be fixed. It is approximated with a sphere, which allows it to collide with objects (but it cannot, for example, push them or interact with them).

Player Persecutor Freely Rotating Around Target

Notice
As any transformation of a player forces it to recalculate its inner state (position, direction, angles and so on), the up direction of the player's viewport may become "negative forward". And then transformation will be recalculated by using this direction, causing flip of the player's basis. To avoid such flipping, the theta and phi angles should be recalculated by using the current viewing orientation of the player.

See also

Creating a Persecutor

To create a persecutor player, do the following:

  1. On the Menu bar, choose Create -> Player -> Persecutor.

  2. Place the camera somewhere in the world and specify the required parameters via the Parameters window.

Editing a Player Persecutor

In the Player Persecutor tab, you can adjust the bit-masks and viewing frustum parameters of the persecutor:

Vertical Player Parameters

Physically-Based Player Parameters

Setting Persecution Parameters

In the Persecutor tab you can adjust the following persecution parameters:

A Persecutor tab

Control Parameters

A set of parameters, controlling persecutor movements:

Fixed Angles Indicates if the persecutor can freely rotate around its target or it is oriented strictly in one direction. If checked, only the phi angle is fixed, the theta can change.
Controlled Indicates if controls of the player persecutor are enabled (the player responds to them).
Collision Indicates if collisions for the persecutor are enabled.
Collision A collision bit mask, specifying which objects can be collided.

Anchor Coordinates

Setting coordinates of the anchor point:

Anchor point Coordinates of an anchor point along the X, Y and Z axes (in the target node local coordinates), to which the persecutor is bound.

Distance Parameters

A set of distance parameters:

Min Distance The minimum possible distance between the persecutor and the target.
Max The maximum possible distance between the persecutor and the target.
Min Theta The minimum theta angle (zenith angle, also known as pitch angle) that determines how far upward the player can look.
Max The maximum theta angle (zenith angle, also known as pitch angle) that determines how far downward the player can look.

Post-processed Materials

In the Materials tab you can add post-processed materials to the camera. They will be applied after all other post-processes (such as HDR, DOF, etc.) are applied.

A Materials tab

Add a post-processed material from the dialog window appeared to the materials list by using the .

Last update: 10.08.2018
Build: ()