I’m very new to UE4 and though i found some similar topics here i haven’t manage to find the right answer.
What is needed: switch between two camera positions while a key is pressed - default follow cam from BP template and an over the shoulder close camera position. So far i’ve managed to do it via SetWorldLocation, but it looks jerky. What i need is a smooth transition between these states to liven it up a little. I’ve tried “Vinterp To” - didn’t get it to work, i guess i’m doing it wrong
Please advice how can i get this up and running in BP
Unfortunately it doesn’t work for me, maybe i’m doing it wrong. Transition is smooth indeed, but 1) i can’t specify the desired camera location (it always zooms into the character at the middle of the torso) and 2) i can’t get it to unzoom halfway when i release the button. Can you please provide an example?
Set View Target With Blend should look for a first camera component found in in specified actor, and in this case, it should just stay at the same position as your original camera, not sure why it moves view to the torso actually.
Also tried it - for some reason it doesn’t work properly at all. I suspect i’ve done something wrong with the vector sum node… or i’m just too dumb for UE)
Also tried it - for some reason it doesn’t work properly at all. I suspect i’ve done something wrong with the vector sum node… or i’m just too dumb for UE)
Can’t tell why it does not work since i don’t see how you do it. Just try starting from scratch with this one, follow the forum post closely, it should work as intended
I did exactly as the wise scheme told me, but it just does nothing exept for changing the controls… camera is still there. Maybe i’ve created the wrong camera instances?
And I have two cameras each of them are put on my targetpoint (one on First Person point, another on Third Person). They are static. (You can change these two cameras to any other component, it just for locating two points)
First point called “Viewpoint 1” another “Viewpoint3”
What the image show is a function which I execute every frame “Event Tick”
If I press the key, the bool “BackView” will be true otherwise false.
You can see the “Select Object” node, I select two point according to this bool.
So if camer3 on its halfway to any of two points, it will back to another
Yes, when i try to experiment with the VinterpTo settings i get either a momentary switch or a one way switch (in order to return to previous view i have to press button one more time). Can you please sugest a value for the Camera Smooth Speed variable?
Also will i be able to control the speed of transition via Camera Smooth Speed?