How to do tire collision for driving in UE4.18?
Me and an 'associate' are working together to start the beginnings of a vehicle game. However we are running into a few issues with the modeling side, and more specifically the collisions for the vehicle.
At the moment our main issue is the fact that the vehicle never moves. Either the tires are slightly off the ground, or colliding through the floor about halfway, no matter how I set the collisions in PhAT. The animation for the wheels rolling works correctly, as well as the steering.
Our main sources of reference have been:
Vehicle Art: https://docs.unrealengine.com/latest...ntentCreation/ Vehicle User Guide: https://docs.unrealengine.com/latest...icleUserGuide/
We have followed the contents very strictly so are unsure why we are still having issues. Looked around on the forums too but all the solutions we have tried have been to no avail.
I have attached a screenshot of our model and the PhAT setup. The PhAT setup is the thing that I am most unsure of, so is perhaps where the issue is lying.
Thank you for reading and hope someone can give some feedback.
The first thing to note is that your vehicle's box collision seems too big! Make sure it is the size of your vehicle's body only (excluding the wheels) to prevent it from touching the ground. Take a look at VehicleGame project provided by Epic for an idea on how to set up collision.
Usually, most issues with a vehicle such as sinking wheels or vehicle not moving even though tires rotate are caused by the improper rigging of the vehicle. I'm not familiar with Blender's interface but it looks like your wheels' pivots are facing opposing direction! Make sure that the root bone's pivot and all other bones' pivots are having their "x" axis facing toward the front of the vehicle as in the picture below:
Lastly, make sure that in your vehicle's blueprint, under the vehicle setup category > wheels setup, you have added wheels blueprints with their corresponding bone name.
Hope this helps.
Follow this question
Once you sign in you will be able to subscribe for any updates here