Closed juliohq closed 2 months ago
This is actually already possible, though admittedly not obvious. The advanced example demonstrates this, you just set snap = true
and it'll snap to the target values.
Actually I am wrong, setting snap = true
only snaps the X and Y of the focus.
I'll release a new version tomorrow EDIT nvm, releasing now
This PR adds a function that can be called at any time to reset
RtsCamera
variables to theirtarget_*
counterparts, effectively resetting the smoothing of the camera.