For a WebGL project I used the Cinemachine FreeLook Camera to orbit a table.
I have two questions:
- When you release you mousebutton while moving up or down, the camera movement never stops until the ‘spline’ is ending. The movement now is too nervous. How can I change that.
- This table is scalable by html sliders. And I always want to have the whole table in screen.
I tried the target groups and add the corner legs but that did not work correct.
Thanks for your reply. I’m gonna dive deeper in it and try to add logic to the mouse button press. And indeed I think adjusting the FOV will do the trick.
I use the legacy input system. Is there any need to use the new one in terms of deprecation? I tried to migrate but it is not so easy.
You don’t have to use the new input system Write a MonoBehaviour that implements Cinemachine.AxisState.IInputAxisProvider
.
CinemachineInputProvider is an example of this. However, in your implementation of float GetAxisValue(int axis)
, don’t query the new input system, query the legacy input system.