مهدی
مهدی
خواندن ۱ دقیقه·۴ سال پیش

UE4 Car

Create animation BP > VehicleAnimInstance (select car skeleton too).



Import fbx of car mesh. (Check Skeleton mesh)

Open physics asset, select * and in body creation change vertex painting to "single convex Hull" and press Re-generate Bodies then simulate.


Create two BP classes: VehicleWheel, one for "front wheel" other for "back wheel".

Open "front wheel class", in Class Defaults > Wheel enter exact Shape Radius and Shape Whidth

Do the same for "back wheel class" + set wheels setup > steer angle to 0.


Create BP of class: wheeled vehicle.

Open it and set the mesh.
Add Component in mesh -> "Spring Arm" -> "Camera" and position it.

In "Event Graph":


set Details > Animation > Anim Class
In Details > Vehicle Setup > Wheel Setup, open all wheels and enter corresponding name and classname of each wheel.

ایده کد کن
شاید از این پست‌ها خوشتان بیاید