# FGear Vehicle Physics (v1.4)

**URL:** <https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [July 16, 2019, 4:10pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793 "2019-07-16T16:10:39Z")\
**Posts on this page:** 20\
**Page:** 25

<div class="post-metadata">

**Author:** ![PerfsPC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/perfspc/32/1194509_2.png) [@PerfsPC](https://forums.unrealengine.com/u/PerfsPC)\
**Post date:** [September 2, 2021, 2:52pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/490 "2021-09-02T14:52:24Z")

</div>

Hi, I see there is an update ready on the marketplace 🙂 - do we have a 1.5 changelog

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 2, 2021, 6:11pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/491 "2021-09-02T18:11:45Z")

</div>

v1.5 is available

CHANGELOG v1.5  
Convex casting option  
Wheel reaction forces  
Ability to turn engine on/off  
Improvements and bug fixes

Additional Notes:  
-By default a cylinder mesh from “EngineContent/BasicShapes” is used for convex casting.  
A query only hidden mesh object is created for this purpose.  
If you want to provide another mesh make sure its scale and orientation matches that cylinder.  
Convex casting is more sensitive to floating point precision issues so for ex. if you use a large(a couple of km wide) plane/cube/brush as ground then casts can return unexpected results and vehicles can shake wildly for no reason.  
-Wheel reaction force is enabled with a float instead of a boolean. Wheel forces can be too large for low mass objects so using a smaller number might be desirable for some cases.  
-You can try engine on/off feature in Modificaton.map in the sample project.  
-Vehicles failed to stay on rotating objects, its fixed now.  
-Trace Complex option(FCollisionQueryParams::bTraceComplex) added to tracing options. Enable to trace against complex(per poly) collision.  
-In some cases throttling failed to generate wheel torque when the vehicle goes backwards while in 1st gear, this is fixed now.  
-Skidmarks were generating warnings in 4.27, it’s fixed now.  
-Ray gizmos are not displayed if trace mode is not Line.  
-All UPROPERTY tags are converted to FPROPERTY as we dropped 4.24 support.  
-All maps in sample project used to have 2x2km box brushes, we used smaller blocks(400x400m) to avoid floting point issues with convex casting.  
-Motion blur is disabled for all maps in sample project.  
-DragRace.map in sample project is modified to have a finish line.

---

<div class="post-metadata">

**Author:** ![PerfsPC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/perfspc/32/1194509_2.png) [@PerfsPC](https://forums.unrealengine.com/u/PerfsPC)\
**Post date:** [September 2, 2021, 6:44pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/492 "2021-09-02T18:44:50Z")

</div>

Brilliant work, thank you so much

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 3, 2021, 8:18am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/493 "2021-09-03T08:18:48Z")

</div>

Just testing, maybe i have some value wrong in some site but this happens when i set convex tracing, the skids are placed vertically ¿?

[![](https://i.ibb.co/rvHTVbh/imagen.png) ](https://i.ibb.co/rvHTVbh/imagen.png)

Also the car was shaking too much that was fixed after disable this component:  
[![](https://i.ibb.co/6XDcR2m/imagen.png) ](https://i.ibb.co/6XDcR2m/imagen.png)

So maybe that component is not anymore useful or deprecated?

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 3, 2021, 9:41am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/494 "2021-09-03T09:41:40Z")

</div>

interesting, we tested all cars in sample project with convex casting and never seen such issue, i’ll take a look…

about suspension constraint, it actually does what it’s supposed to do but the constraint solver reacts wildly. i found a setting to fix that issue in unity but somehow the same setting does not help in unreal. i will keep looking for a solution.

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 3, 2021, 10:32am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/495 "2021-09-03T10:32:22Z")

</div>

I deleted that suspension thing, no idea why i added/enabled now, i tested and all seems to work in same way, tried the bumps, jumps/falls and all seems to be fine.

Also with trace complex enabled, SKids and tyre smoke are not visible, if deactivate they are visible again ¿?

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 3, 2021, 10:58am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/496 "2021-09-03T10:58:58Z")

</div>

thanks for the feedback, trace complex casts against trimesh collision, may be unreal fails to return physical material that way, not sure yet.

EDIT : i couldn’t recreate this issue either, activating trace complex changed nothing for me. i will test with splines.

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 4, 2021, 8:41am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/497 "2021-09-04T08:41:26Z")

</div>

Tests were made in 4.25.4, i tried on 4.27 and same. With convex the skids appears in some kind of vertical way, and with trace complex skids and smoke not appear. With Line and sphere tracing without trace complex all works perfect.

[![](https://i.ibb.co/8zxbgTs/imagen.png) ](https://i.ibb.co/8zxbgTs/imagen.png)

Im gonna try setting some car values to default and different car custom collision,etc… to see if something is giving that kind of problems.

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 4, 2021, 5:45pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/498 "2021-09-04T17:45:35Z")

</div>

Will be possible update the OrbitCamera to do this?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/b/18baad065b45de982eb69e15657e64fa54697336.jpeg "Dirt 3 GoPro LP Ep6 GymKhana Everything! | SLAPTrain") ](https://www.youtube.com/watch?v=i_8am04uGOI)

Now it just pass throught objects. Is there any quick fix for that? Maybe via blueprints? or if via code any line to edit/add? Or maybe add in the new update/hotfix please?

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 4, 2021, 6:01pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/499 "2021-09-04T18:01:30Z")

</div>

of course its possible but it would require some work and possibly a lot of tweaking.

we have stated many times that we generally do not prefer working on game specific features so it’s up to the developers to make cameras, lights, particle effects etc.

Effects, OrbitCamera vs. components are for prototyping…

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 5, 2021, 6:50am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/500 "2021-09-05T06:50:33Z")

</div>

Ok thanks, thought maybe was easy / small edit but it looks is more complex with lot of tweaking than i thought, no problem.

---

<div class="post-metadata">

**Author:** ![Davit\_Masia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davit_masia/32/1008648_2.png) [@Davit\_Masia](https://forums.unrealengine.com/u/Davit_Masia)\
**Post date:** [September 5, 2021, 7:33pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/501 "2021-09-05T19:33:36Z")

</div>

Ok, problems fixed, it looks was the plane i was using as floor for some reason.

I changed to a Landscape type for the asphalt to add puddles and some interactions, and now convex and trace complex works without problems.

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 5, 2021, 8:59pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/502 "2021-09-05T20:59:58Z")

</div>

good to hear and thanks for the feedback.

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 6, 2021, 6:28pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/503 "2021-09-06T18:28:44Z")

</div>

FGearVehicle::updateAntiRollBar, this is a realistic antirollbar but mostly you won’t feel a difference in driving experience.

FGearArcadeAssists::updateAntiRollBars, this is a fake antirollbar that applies external forces to the chassis but very effective.

no need to use them both, if it’s an arcade game just use the fake one…

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 11, 2021, 9:22pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/504 "2021-09-11T21:22:55Z")

</div>

if you check the UFGearEffects::physicsSurfaceUpdate function you can see that it’s not used.

we used it in unity, when you enter a surface with high roughness your vehicle slows down with an artificial drag, i do not exactly remember the reason but we skipped this one for unreal.

---

<div class="post-metadata">

**Author:** ![Kangaaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kangaaa](https://forums.unrealengine.com/u/Kangaaa)\
**Post date:** [September 12, 2021, 1:34pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/505 "2021-09-12T13:34:13Z")

</div>

Are you able to provide a quick overview of what the vehicle physics asset should look like?

For some reason, for me, with a Vehicle base Simulated shape and all four wheels as a Simulated (or kinematic) sphere physics shapes - the wheels roll on their own and are rolling on all axis.

The example vehicle only has the chassis covered by the physics asset but I want the wheels to act as colliders too - if that’s possible?

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 12, 2021, 1:57pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/506 "2021-09-12T13:57:05Z")

</div>

wheels are not supposed to have colliders at all.

you could have kinematic bodies that are just positioned with the wheels but they will push back any dynamic body with infinite force and i don’t think you would want that.

long story short, there is no simulated volumetric wheels in this asset or any asset that i know of.

---

<div class="post-metadata">

**Author:** ![Kangaaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kangaaa](https://forums.unrealengine.com/u/Kangaaa)\
**Post date:** [September 13, 2021, 9:37am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/507 "2021-09-13T09:37:24Z")

</div>

Hmmm interesting.  
The way vehicle assets are setup for Chaos, the wheels have their own Physics Colliders set to Kinematic. Probably why my assets were created this way.

So should I only be creating a physics body that covers the entire chassis? Or should the physics body cover the entire vehicle incl. Wheels?

---

<div class="post-metadata">

**Author:** ![lazybitgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lazybitgames](https://forums.unrealengine.com/u/lazybitgames)\
**Post date:** [September 13, 2021, 10:01am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/508 "2021-09-13T10:01:02Z")

</div>

it’s better to cover the wheels, especially cover the points where suspension casting starts.  
open wheels may or may not be a problem, test the rc car in the sample project.

---

<div class="post-metadata">

**Author:** ![Last\_Coin\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Last\_Coin\_Games](https://forums.unrealengine.com/u/Last_Coin_Games)\
**Post date:** [September 17, 2021, 5:14pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/509 "2021-09-17T17:14:26Z")

</div>

Hi,

- yes a single UAudioComponent for four wheels.
- If you want to do it through a single particle effect, you can add a particle parameter and update this parameter according to the information you read from the surface.

[Previous page](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793.md?page=24)

[Next page](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793.md?page=26)
