About camera follow

I need to implement a function:
The camera always follows the offset of the object.(Like racing games)
what should I do?


Chasecamera can’t achieve what I want.
I need the following camera.

Chase camera It can be used in most third person scenarios.
You need to know that the API makes appropriate adjustments to the chase camera.
You can also use “extends” to rewrite your camera to the one you want