Mouse/axis input not clamping fast enough
We're having an issue with the clamp node not clamping quickly enough when using a mouse. We have our input axis controlling the pitch of a camera, with a clamp to keep it in the desired pitch range.
This is our setup currently:
When using a mouse it seems to make the full sweep of the mouse then correct afterwards. This means with a large/fast enough mouse movement you can well overstep the clamped value before the rotation is corrected. In our case this causes floor clipping. It also causes jitter as the clamp fights with the mouse movement at the edge of the range.
What we really need is for the controller's pitch rotation to stop dead at 0 and -90 degrees, allowing movement within the given range and no further.
Things we've tried:
We know this is possible as we've seen projects with cleanly controlled camera angles before. Thank you for any suggestions.
I believe the problem is due to you setting the rotation before running it through the Clamp (by using AddControllerPitchInput)
answered Mar 02 '16 at 11:47 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here