Move camera using character state

Hello , I want to know how to make the camera move automatically , i mean , if the character is walking the camera stay near the character’s head if he is running the camera move back so you can see all the body if prone it go down , if stand it go up , How i can do this please ?
If the post is not in the right place please move it :slight_smile:
Thanks in advance .

You could use Select node + vector, where X is the Springarm length, Y could be the angle, and Z could be hooked up to camera lag value or FOV or something else:

If you need more than 3 variables per movement mode, you can make a custom struct and define all that you need.

Another question and i think it is
easy to answer how i can remove this
capsule from my character i mean to
make transparent ?

Select CapsuleComponent in the character and ensure the HiddenInGame is ticked in the details panel:

223172-capture2.png

Oh, and you in the very right place.

Another question and i think it is easy to answer how i can remove this capsule from my character i mean to make transparent ?

i will try this

I don’t know how to make that’s what i got

That other answer looks good but if you need to try something else you can make a Boolean for is running. Under tick you can do an if is running statement and if true you add local offset to the camera or set location of the camera to the angle you want. When false you can set it back to the other position. Same for prone. Hope this makes sense.

Try it like this:

223180-untitled.png