Class TSceneNodeAnimatorCameraFPS

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSceneNodeAnimatorCameraFPS = class(TSceneNodeAnimator)

Description

Special scene node animator for FPS cameras.
This scene node animator can be attached to a camera to make it act like a first person shooter.

Hierarchy

Overview

Properties

Public property AllowVerticalMovement: Boolean write SetVerticalMovement;
Public property InvertMouse: Boolean write SetInvertMouse;
Public property MoveSpeed: Single read GetMoveSpeed write SetMoveSpeed;
Public property RotateSpeed: Single read GetRotateSpeed write SetRotateSpeed;

Description

Properties

Public property AllowVerticalMovement: Boolean write SetVerticalMovement;

Sets whether vertical movement should be allowed.
If vertical movement is enabled then the camera may fight with gravity causing camera shake. Disable this if the camera has a collision animator with gravity enabled.

Public property InvertMouse: Boolean write SetInvertMouse;

Sets whether the Y axis of the mouse should be inverted.
If enabled then moving the mouse down will cause the camera to look up. It is disabled by default.

Public property MoveSpeed: Single read GetMoveSpeed write SetMoveSpeed;
 
Public property RotateSpeed: Single read GetRotateSpeed write SetRotateSpeed;

The rotation speed in degrees.
The degrees are equivalent to a half screen movement of the mouse, i.e. if the mouse cursor had been moved to the border of the screen since the last animation.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22