How to move an object / vehicle with the keyboard

Hello there !

I’m new on Unreal Engine 4. I follow many tutorials about this Game Engine, and I made some 3D models in Blender like a low poly tank, a boat …
Afer I attach a camera on one of this mesh, I would like move it (remote control) with the keyboard.
However, when I follow the the tutorial to animate a tank (on the Official UE4 channel), I don’t know why, but it doesn’t work.

But in fact, the only thing I want know is how to do for remote control an object with the keyboard.

Could you help me ? :]

Thank you in advance for your answer,

Sincerly,

A French Chauvinist

PS : sorry for my English

Up plz ! :]

Hello,

So, Easiest way to do this:

Create a project with the Third Person template (Or from content browser Add New → Feature or Content Pack → Third Person)

In your ThirdPersonCharacter blueprint: Hide the player mesh, add a static mesh component (as a child of player mesh), assign your tank to this static mesh

Drop the ThirdPersonCharacter in your level and set “Auto Possess” to Player 0

You should now be able to move around your mesh with your keyboard. You’re driving the “CharacterMovement” component - so tweak values in there to get the feel you want.

Hope that helps!

Hello !
I don’t think about that ! That not wrong ! :slight_smile:
I will try it as soon as possible. I will recontact you to give the result.
Thank you !
Sincerly,
A French Chauvinist

Bonjour Monsieur ! ;D
Yes, it works !
Thank you !
However, I would like to have a smoother movements, and program it myself with the Blueprints.
How can I do ?
Thank you !
Sincerly,
A French Chauvinist

Glad to hear it! You could try and tweak Acceleration and Rotation Settings inside of ThirdPersonCharacter (select CharacterMovement component)

Since you are new to Unreal Engine, I’d recommend learning about framework and input as a prerequisite to creating your own. First couple of vids in this series should help you with that.

Hello !
Thank you very much, I will see that.
Sincerly.
A French Chauvinist