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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Help my with enter/leave car

SORRY! My English is very bad!

Hi! I need your help with creating a enter/leave car (Third Person). How to create a script interaction with car like GTA?

Product Version: UE 4.8 Preview
Tags:
more ▼

asked Jun 01 '15 at 05:41 AM in Blueprint Scripting

avatar image

HormanSat
3 2 2

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

2 answers: sort voted first
more ▼

answered Jun 01 '15 at 06:13 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image HormanSat Jun 01 '15 at 10:48 AM

WOW!!! THANKS!! That's what I needed!! Many thanks!!!

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

Near the doors you need to make triggers, it can be other blueprint inherited from volume class, you need to create a pointer to the car as new variable. Then add these triggers to the car as components and assign pointers in triggers. Now when player pushes F or E or even Enter you need to try cast every overlapping components to your trigger blueprint until you find first. If nothing castable - you can't enter any vehicle, if success - now you can use vehicle that pointed by trigger.
Or you can find cars by distance to their doors, but it will take more time.

more ▼

answered Jun 01 '15 at 05:58 AM

avatar image

HungryDoodles
490 29 23 40

avatar image HormanSat Jun 01 '15 at 10:47 AM

Thanks, but I do not understand this. But Your advice to me is very important!

(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