How to change camera height in the blueprint?

I’ll try to make the blueprint to change the camera height with the slider palette.
The camera is tied to the character component.
But,I don’t find a node to get the camera height.
The blueprint to change FOV and DOF in the same way worked well.
Camera height of the blue print is attached for reference.
Could you tell me any good idea? Sorry for my poor English.
Thank you in advance.


If third person use socket offset or target offset of spring arm. if first person call set relative position on camera component and set its Z axis .

Nothing is connected, so nothing’s going to happen…

image

Hello,Thank you so much.
dragged to set relative location function ?
I want to be able to change only Z, and I want to be able to change the height freely instead of using a fixed value.
I’m an beginner about blueprint.

Thank you. So,I want to add ,but I don’t find an appropriate function node.

Yes, just relative location :slight_smile:

1 Like

If you want it to move up and down by “Adding” instead of a fixed range this should do the trick

1 Like

Wow,amazing.Thank you so much.
I’ll try it.
But,it’s a little difficult for me.
Why multiply SLIDER OUTPUT and SPEED?
Why is it converted to a vector?
I feel like it could be left as a float.

It gets multiplied by speed so if it is moving too fast or slow you can adjust the speed ( you can leave the speed to 1 by default )
We feed it to Z of a vector because we want it to move only in Z direction which is up and down . as you can see X and Y are left to be 0 .

1 Like

Thank you for your detailed reply.
Actually,I’ll try ,everything worked well.
Relative location and Make Vector node was helpful for me.
Thanks a lot.

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