Reply To: Tweeining a camera to a moving target position

Forums 💬 FlowCanvas ⚙️ Support Tweeining a camera to a moving target position Reply To: Tweeining a camera to a moving target position

#22502
Gavalakis
Keymaster

    Hey,

    Yes. This is how Tweens work in general, in that while they are updated, they tween a Vector3 value from one Vector3 to a target Vector3.
    If what I understand you want to do is correct and you want the camera to always “stick” to the randomly selected spot even while the car is moving, bellow is a flowscript that does this for your convenience.

    [attachment file=”CameraRandomSmoothMove.png”]

    Let me know if you need any details on how/why this is working 🙂

    Cheers!