Rotating the Camera to an Object Smoothly
Please watch this video: https://youtu.be/87A8kWU6QoY
I want that flower to be in the center of my camera. Please help ;(
Here's the blueprint: I didn't use X and Y since I don't need it. (I can only rotate my camera right and left, can't rotate up and down.)
I tried dot product, get direction vector, and it didn't work.
asked Jul 17 '16 at 09:27 AM in Blueprint Scripting
Hi man , here an example, use the node "Find look at" this will give you the rotation you should have , from a point , to look at another point. But you cant set it directly , otherwise you istantly turn to that rotation . So, use the lerpR. This node will use the alpha (0.1) to transform the first rotation in the second. Note that i used the true location of the player. and then i make a special location for the flower. Using the X, Y of the flower and adding the Z of the player. In case your actor are not at the same high in the level, your player will only turn on Z this way.
answered Jul 17 '16 at 12:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here