x

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 make vehicles which can be driven?

Hi! I am making a third person project. I cant find any tutorials for driving vehicles in UE4. I want the character to walk, enter the vehicle, and then be able to drive it.

Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Feb 28 '16 at 07:33 AM in Using UE4

avatar image

Champforevaa
12 3 4 7

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

1 answer: sort voted first

Hey Champforevaa,

I'm not an unreal engine expert or anything, BUT I do have a solution for you.

  1. Migrate the vehicle player (called "Sedan" I think) over from the vehicle example to your working project.

  2. Add a collision to the vehicle actor and create a blueprint script to check if something collides with it.

  3. If that 'something' is the player, then you would then switch the game mode from third person game mode to vehicle game mode, which should have migrated with the vehicle player you migrated. There you go! I don't know if it's possible to switch game modes via blueprinting but go ahead and give it a shot, I would totally play whatever game you're making if you figured that out.

more ▼

answered Feb 28 '16 at 06:31 PM

avatar image

Prof_enderboss
38 2 3 7

avatar image Champforevaa Feb 29 '16 at 03:30 PM

Thanks! I'll try that out!

(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