fix(camera): port retail offset adjustment laws
This commit is contained in:
parent
cb22691beb
commit
90eba0ec3c
7 changed files with 212 additions and 61 deletions
|
|
@ -82,13 +82,13 @@ internal sealed class CameraFrameController : ICameraFramePhase
|
|||
if (input.ZoomOut)
|
||||
retail.AdjustDistance(+adjustment);
|
||||
if (input.Raise)
|
||||
retail.AdjustPitch(+adjustment * 0.02f);
|
||||
retail.AdjustPitch(+adjustment);
|
||||
if (input.Lower)
|
||||
retail.AdjustPitch(-adjustment * 0.02f);
|
||||
retail.AdjustPitch(-adjustment);
|
||||
if (input.RotateLeft)
|
||||
retail.YawOffset += adjustment * 0.02f;
|
||||
retail.AdjustYaw(+adjustment);
|
||||
if (input.RotateRight)
|
||||
retail.YawOffset -= adjustment * 0.02f;
|
||||
retail.AdjustYaw(-adjustment);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue