Jacky
(Jacky)
September 3, 2014, 12:24pm
34
Hi guys!
I’m new here and I thought it was useless to start a new thread to ask info about vehicle creation and setting when there’s one.
If forum’s netiquette require a new thread I will happily start a new one. I’m not native english speaker so be patient: I try to explain myself as best as I can.
I’m new to UE4.4, well, back in the days of Unreal and UT I used to make DM maps but UnrealEd has changed a lot!
So I’m learning UE4 from a couple days and managed to get my vehicle work with some efforts, the tutorials really helped and I’d like to thank Epic guys and the community for all the great docs available.
I set up the hierarchy with each wheel-children linked to the body-parent. The body’s pivot is placed at the center of it and is at the same height of the wheel’s center/pivot. I used Wolrd coordinates and collapsed the whole stack of the body in a Editable Poly. Every object lies on the X axis towards front, Z axis is up, the wheel’s pivot is aligned on the inner face of each wheel.
My vehicle is working nicely however I came by a few problems I can’t figure out:
my vehicle is lifted in the air by about 15cm, I mean between the wheels and the ground there’s space, wheels don’t touch the ground, I managed to “solve” by setting a “Z Additional offset”. My wheel’s radius is 40cm but in the wheel’s setting it is 30, if I raise it to 40 more space is added between the ground and the wheels.
When my car runs as soon as it takes speed the body lifts on the suspensions. If I lower the upper range of movement the suspension can do above its original state it gets better and eventually the problem disappears, but the vehicle gets more “twitchy” on road bumps, maybe more detailed geometry of the ground can help, I guess.
When setting up the vehicle I noticed that in the tutorial the guy had to change the physics’ model to kinematic if not the wheels won’t follow the body, I’m not seeing that, the wheels act properly with and without that setting.
Sorry for the wall of text and thanks in advance.
#2 suspension lift while speeding up is a known and will be fixed soon hopefully.
#3 It was necessary in 4.2 but not anymore, as far as i know.
#1 Can you post a screenshot of your vehicle setup in the modeling program and skeleton mesh viewer(with bones enabled to show) inside the editor? I’m guessing there is a problem with the body’s pivot position.