- Edited
There's an issue I can't solve where the camera rotates after translating in an environment, here's a video of the issue.
Does anyone know what's going on?
There's an issue I can't solve where the camera rotates after translating in an environment, here's a video of the issue.
Does anyone know what's going on?
It looks like there is a small detection of rotation during the input capture, are you using touch inputs or mouse inputs?
thanks
riverg can you try this fix?
Open CameraBase.cs and replace the function IsInputMatching with this:
protected bool IsInputMatching(InputMapFingerDrag action)
{
if (middleClickDrag == action && Input.GetMouseButton(2) && !Application.isMobilePlatform)
return true;
if (rightClickDrag == action && Input.GetMouseButton(1) && !Application.isMobilePlatform)
return true;
if (twoFingerDrag == action && CameraInputs.GetFingerCount() == 2)
return true;
if (oneFingerDrag == action && CameraInputs.GetFingerCount() == 1
&& !Input.GetMouseButton(1) && !Input.GetMouseButton(2)
&& !Input.GetMouseButtonUp(1) && !Input.GetMouseButtonUp(2))
return true;
return false;
}
I published a bug fix, it will be available in 3days on the store. Thanks!