09-01-2020, 09:28 AM
Each camera also has an Offset property that is changed when the camera is moved - it also changes the actual target position.
To fix your problem, before calling "MoveTargetPositionTo" add Offset to TargetPosition and reset the Offset:
_targetPositionCamera.TargetPosition += _targetPositionCamera.Offset;
_targetPositionCamera.Offset = new Vector3D(0, 0, 0);
To fix your problem, before calling "MoveTargetPositionTo" add Offset to TargetPosition and reset the Offset:
_targetPositionCamera.TargetPosition += _targetPositionCamera.Offset;
_targetPositionCamera.Offset = new Vector3D(0, 0, 0);
Andrej Benedik

