Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to create "Tank Controls" in blueprint?

Hello! Is there any way to create tank controls, as Grim Fandango, in the blueprint? Something like could independently change the rotation of the character and its changes according to its rotation. (Example: https://www.youtube.com/watch?v=OaV0ZaFd7iQ - Starts on 3:12 min)


Product Version: UE 4.7
more ▼

asked May 18 '15 at 03:30 AM in Blueprint Scripting

avatar image

3 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi There,

Yes, it's actually relatively simple to set up tank controls. If you're using the Third Person Template, go into your ThirdPersonCharacter blueprint and follow these steps:

Disconnect these 2 nodes.

alt text

Go into the class defaults and search for "Pawn". Make sure "Use Controller Rotation Yaw" is selected.

alt text

Select the FollowCamera component and set the location and rotation to "Absolute". (If you're using the Third Person Template, the X,Y,Z location values here should work as an example).

alt text

Go the Movement Input section and disconnect the InputAxis MoveRight node.

alt text

Connect the InputAxis MoveRight node to these nodes.

alt text

And there you go, tank controls. =)

mouseinput.jpg (80.8 kB)
class defaults.jpg (214.6 kB)
camera.jpg (238.0 kB)
movementinput.jpg (198.4 kB)
tank rotation.jpg (146.7 kB)
more ▼

answered May 18 '15 at 07:06 AM

avatar image

617 21 15 35

avatar image Montanari May 18 '15 at 04:40 PM

Just that! Thanks, it worked!

avatar image T.A.G Feb 08 '18 at 07:40 PM

Hi :) I have almost everything but i cannot find this. Thanks for help.alt text

avatar image xRoci Apr 04 '18 at 12:30 AM

This may be a little late, but that is a float + Float node.

avatar image Roemmelito Jul 30 '18 at 03:06 AM

Wow, sorry for the necro post, but this doesn't work for me, at all. My character moves forward, and only moves forward. Refuses to turn

avatar image DarkHeliosGames May 21 '19 at 01:40 PM

Hello to everyone this is my set up for tank controls but i dont know how to add animations for the turn side the forward is working good via BlendSpace but the other 3 turn A ,D and backwards is my problem any help is more than welcome

mytankcontrols.png (215.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question