Im using the First person template but i think you can implement this in third person too. Here is the blueprint: