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?
asked Jun 01 '15 at 05:41 AM in Blueprint Scripting
There's a simple tutorial you can start with in here
answered Jun 01 '15 at 06:13 AM
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.
answered Jun 01 '15 at 05:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here