how to reset mouse or camera control changes
#2
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);
Andrej Benedik
  


Messages In This Thread
RE: how to reset mouse or camera control changes - by abenedik - 09-01-2020, 09:28 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)