Camera follow script for game

how to get smooth camera follow with visual script

Here is an example Visual Script that makes the camera follow the given target actor:

Add it to the actor on scene, set the Camera property to the camera to move and set the Follow Target to actor that camera should follow. You can adjust the follow speed (units per second) and the view direction/distance fro the target.

It works like this:
ezgif.com-gif-maker

Can you pl specify the add node i.e was it matrix, vector3 or 4, math??

Iā€™m pretty sure the yellow input is a Vector3. So that would mean the Add node is an Add Vector3 node.

1 Like