is there a way i can switch between 2 cameras by which weapon my character is holding?

you could use Set View Target with
Blend like Everynone suggested

I wouldn’t suggest it actually, the node is kind of dumb. The desired behaviour couldn’t be previously achieved with the Set View node. When you mentioned activate / deactivate components I just though it was perhaps fixed in 4.23 (and who knows, it might).

If an actor has multiple cameras, the Set View will find the first one, rather than the one you want or the active one… often rendering it pretty useless. That’s how it used to work at least.


Another solution to camera switching is to store transforms (or location + rotation). And move the camera to that location using a timeline or just snapping to loc+rot. So you’re just using a single component. And the loc + rot can be interpolated, too if needed.

On the other hand, activating / deactivating components for an instant camera switch is something I’ve never tried. Glad to find it works well for this. Thanks for sharing!