I want to do camera switching when interacting with an object using set view target with blend. But nothing works, please help me


Hi!

I think you need to add execution line to setting of TargetObject

Technically, it’s just this:

But you must provide New View Target which takes an actor. You need a method of deciding which camera you’re switching to.

So, the question is - how are you interacting atm? How do you know which camera?

1 Like

Thanks, I figured it out. It turns out I should have specified the “E” key in the blueprint of the object, not in the character.

Nope. The press E to interact should be in the character. Unless you’re doing something really uncanny.

It’s the player who does the interaction, right?

The player approaches the object and the E key changes the camera to the object.

Yup. This goes into the player. Otherwise you will have to enable input on the camera actors which is a pretty bad idea.

Have a look at any interactio tut on YT.

Thank you, that’s just what I needed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.