Move spaceship up and down via thumstick

Hi everyone,

I set up a scene with a spaceship flying around using th left thumbstick and some thrust controls.

I’d like to add a control where i can lift the spaceship up and down along its z-axis via the Y-axis of the right thumbstick.
The movement should also be only relative to the analog signal of the thumbstick position and not continous. So for example, if I push up it moves up 1 unit if I push only half way it moves up half a unit and if I release the thumbstick it should return to its original position.

Hope anyone can help, this is making me so mad :\

It sounds to me like you can simply bind an axis and then move your spaceship up and down based on the axis value. So for instance, if you bind Mouse Y to the Move action, set your space ship’s Z position to the AxisValue of the Move event.

Hi Laurens, thank you very much for your answer.

I set up my input and tried altering the z axis location of my spaceship mesh.
Because I’m a noob, I just tried adding the value from the thumbstick input multiplied by a variable to different location/transform nodes the context sesitiveness suggested . But non of that had any effect.
Which would be the right node, to control the mesh transformation? Would also be nice to control rotation that way.

That’s the value I’d like to add/remove to the ships z-axis:

That would basically be it, now you can connect your output vector to the SetActorLocation node.

Actually, that was the first thing I tried, but it had no effect.
I noticed, if I play in the editor and move the spaceship around, the location data doesn’t change.
I used a example from a tutorial for the base control where physics thruster components are used for controlling the ship.
Maybe that’s the reason why it doesn’t work?