Animation & Mesh character

Enter/Exit vehicle



Add UE vehicle template to the project

Activate follow plugins:
image.png
Drag the car BP in the scene
image.png


Open the Car BP
Add box collision component, name as Radius
Increase the box extent to cover the car mesh (mainly need extra space at the sides doors of the car)
image.png
Radius component colliosn set as OverlapDynamic
image.png

Set player get in car:


Open 3rd person BP:
Class filter choose car BP
image.png
Now the car can be controlled once triggered, but the player is still in scene.
To let the player get into car:
image.png
image.png

Set player get out of car:


Back to Car BP:
image.png

To set player places next to the car after get out:


In car BP Viewport:
Add Arrow, called Player Out Post
Child the skeletal mesh under the arrow, place the mesh next to the car
image.png
Invisible the skeletal mesh
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.