lock camera

Overview

Allows you to lock the player camera on a target, i.e. camera always looks at the specified target.

Inputs

activateStart locking.
deactivateFinish locking.


Outputs

finishTriggers when locking is finished.


Refs

playerThe player's camera will be locked.
targetEntity to lock the camera to. This can also be the player.


Properties


InertionDefines how fast the camera follows the target, lower values will result in slow movement.
PreviewModelThe target model preview to help select a bone.
BoneSpecifies the target bone to lock the camera to.
Camera LimitsYawThe angle range where the player can affect the camera yaw while locked.
PitchThe angle range where the player can affect the camera pitch while locked.
Yaw Soft Zone Size

Percent of the yaw soft zone. 1 is 100% and covers all yaw limits, 0.1 is 10%  two 5% zones near yaw limit edges.

Pitch Soft Zone SizePercent of the pitch soft zone. 1 is 100% and covers all pitch limit, 0.1 is 10%  two 5% zones near pitch limit edges.
SoftnessThe factor of extra camera inertia in the soft zone, larger values result in more inertia.
Enable Soft Limits

Enables the soft zone. The soft zone is zone near edges of yaw/pitch range. E.g. -yaw_max, -soft_zone_max, 0, soft_zone_max, yaw_max.

In this zone, the camera rotation has extra inertia if it rotates away from the locked target, i.e tries to leave camera limits.

Return CameraDelayAfter this delay, the camera returns to the locked target.
AngleIf this value is set and the camera is outside of this angle, the camera tries to return to the locked target.
Only If No InputIf enabled, the camera returns to the locked target after there is no new input and the Delay has passed, otherwise only after the Delay is passed.
Limits Blend Time Time in seconds to blend with the previous camera's locking parameters (Yaw, Yaw Soft Zone Size, Pitch, Pitch Soft Zone Size, Softness).
AS Blend Time Time to blend the camera rotation with the rotation from the animated camera locator.
AdvancedRotate To Target Smoothly rotates to the target on locking (instead of instant rotation).
Rotate PreciselyMore precise target locking.
Remove Attach OnOn unlocking, this resets the camera attach params.
Forbid Xform RotationIf enabled, the body rotation doesn't change.
Use Bone Angles If locked on self, the camera angles are taken from the animated camera locator.

Shortcuts

N/A

On this page:


Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.


EULA