How can i stop camera follow my character at some condition

Hi , thx first. I have a problem is that I have a character blueprint , and have a camera component in it. I want to make it stop follow my character under some condition. So how can i do that ? Thx for reply.

for example like when character is dead?

anyway, this is interesting, and usually done with these 2 method:

  1. usually camera is attach to your pawn as a component, so it will follow unless your pawn is like the top down pawn that proxy control say a character.
  2. matinee can override default camera, but I guess this might not be what you wanted.

please be more specific with your question.

ok, say i am working on the 2D ScrollerBP Project, and I don’t want the camera follow the character to jump, just follow the horizontal position is enough for me.

you’d need to have a different setup like the proxy control I mentioned, as default 2d side scroll parents the camera boom to root component, it would follow your pawn anywhere.
you can go search for RTS project/template on this forum and see how they setup camera and how they control other pawns, and you only need to control one and switch from top/down to side view.