Download

How to control Cine Camera Focus Distance with Trigger Axis

At the moment I have a Cine Camera attached to a Pawn. I basically need to fly around the world as a Cine Camera. I have all the movement scripted okay but I am looking to be able to control the Focus Distance with the two Trigger Axis’s. In the Pawn blueprint I am able to control it but I can’t work out how to manipulate it with the triggers.

For example if the default Focus Distance is set to 500cm, I’d like to press the left trigger to bring it down and the right to bring it up. And depending on how hard I press the triggers it pulls the focus either quickly or slowly. The harder I press the quicker it moves.