This will be my first project using a first-person camera and it looks like I’m struggling a little finding some of the parameters I would expect for mouse (move) input.
Being a gamer, there are two parameters for mouse movement I always set in an FPS.
Those are:
Independant horizontal and vertical mouse sensitivity/sensibility.
Mouse acceleration.
Now, I find mouse acceleration to work only with the follow cam and I’m used to set ‘angularSensibilityX’ and ‘angularSensibilityY’ on the arcRotateCamera.
But then, these don’t seem to apply to the universalCamera. I would have expected to be able to set these parameters as I find them to be kind of common (not to say basic) in the games I play.
Or I should set them elsewhere?
Thanks in advance for your help and meanwhile, have a great day
Thanks for trying but no, not this time
My question really is just for:
A separate sensitivity/sensibility on the vertical and horizontal move and if it somehow exists,
A mouse acceleration (factor) for the mouse movement.
And then eventually for touch also.
I (sort of) know about the other parameters.
But again, thanks a lot for taking the time to have a look and reply and have a great day
Hey @mawa,
AFAIK, the UniversalCamera uses the FreeCamera inputs which only have the single variable angularSensibility. The input could be changed to have separate axis values. I could also see creating a new input that extends FreeCameraMouseInput and just overrides the attachControl function.
Thanks so much for your reply and the quick go-around ‘hack’. Not sure if I will use it; I’m not making an FPS so it’s not absolute necessity for me just now.
May be others will still want to have the ‘less hacky’ solution? We’ll see.
Right now, I’m good just like that so I think we could just leave it here for now.
Thanks again and have a great day