# 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:** 51

<div class="post-metadata">

**Author:** ![gurusaint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gurusaint](https://forums.unrealengine.com/u/gurusaint)\
**Post date:** [July 14, 2023, 1:48am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1022 "2023-07-14T01:48:23Z")

</div>

@lazybitgames what is the purpurse of the “save state” function ? I can’t find any documentation on it.

---

<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:** [July 14, 2023, 8:52am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1023 "2023-07-14T08:52:37Z")

</div>

I still need to test, but be sure is the FGearPlugin. One way to do is pick the FGear example project and try to compile with the new binaries. Before not worked, but if now is fine and your project not, is because you are using some other plugin with the same problem FGear had.

---

<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:** [July 14, 2023, 10:41am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1024 "2023-07-14T10:41:13Z")

</div>

it is used for rewind/replay.

---

<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:** [July 14, 2023, 10:43am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1025 "2023-07-14T10:43:01Z")

</div>

as Davit\_Masia said grab the example project, package with the the latest binaries, if it works then you have another 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:** [July 16, 2023, 8:10pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1026 "2023-07-16T20:10:01Z")

</div>

@lazybitgames We found a problem in the convex tracing method.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/7/2878fcef8d84aac8403e15e349d3234a7bca9f49.png)  
For some reason the skidmark not match with the wheels. With line or Sphere works perfect. But with Convex it does weird things, like change left/right offset fast in you go in straight line ¿?.

It looks the problem is with the hit trace of the wheels. Having in mind the convex shape is a cylinder & in theory it only moves with steering, no rotation/camber/toe, no idea why this happens.

So, maybe this means the physics with the convex shape not works as they should? No idea how the trace hit in convex shape should work, or maybe with convex shape using the hit trace from wheels to set the skidmarks position is not the correct way ?.

EDIT: Well, im guessing the hit trace points in convex cylinder shape are the left-right edge, so that why the skidmark “dances” to one side or another and does weird things. So, i guess we just need to detecr when the wheel hits the ground and set the position from the wheel static mesh.

---

<div class="post-metadata">

**Author:** ![gurusaint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gurusaint](https://forums.unrealengine.com/u/gurusaint)\
**Post date:** [July 17, 2023, 3:56pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1027 "2023-07-17T15:56:58Z")

</div>

I had a similar “issue”. This is also evident in the telemetry UI. If I draw a debug sphere based on the line trace from the wheel. The sphere jumps around and even lags sometimes. I haven’t tried it yet but will a scene component attached to a customized Niagara skid particle fix this?

---

<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:** [July 17, 2023, 5:59pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1028 "2023-07-17T17:59:12Z")

</div>

@lazybitgames Also this is weird, i set convex shape visible and visuals are a bit weird:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/a/f5a0cedc2d913695d806984d568c1f3464fba19d.jpeg)

Not should the convex shape be in the physical wheel location? It happens in all cars, even the FWD\_BP example one. Because were gonna use the wheel location for skidmarks but realize gave us a wrong location, and is the bottom of that visual convex shape. Is a bug?

---

<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:** [July 17, 2023, 10:00pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1029 "2023-07-17T22:00:34Z")

</div>

the convex mesh is placed at the same spot with the rays, centered.

if your bones are not at the center of your wheels(like the image below) you can experience this issue.

you can use the rim offset parameter to align them.

 ![ss1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/f/49f7ee33c26a0b2811bb62846378372d67daa6c7.jpeg)

---

<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:** [July 18, 2023, 6:46am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1030 "2023-07-18T06:46:36Z")

</div>

Then all your cars are wrong too due they have the same problem.

The rim can change in the Y offset, but the convex shape appears in the wrong Z offset.

Also, the physical wheels with the gizmos are all correct. Is when you set tracing “convex” and set visible convex shape, it appears in the wrong Z offset. ¿? My bones,etc… are all them centered and fine same as yours, and my cars and all the ones you have in the FGearExample project, have the same issue.

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/2/8e227cf7e4322eccfda0128c14e30d04e38b3fe6.jpeg)

---

<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:** [July 18, 2023, 9:11am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1031 "2023-07-18T09:11:58Z")

</div>

@Davit_Masia I also posted about this a few months back as I was confused myself at the location, Yunus said this was normal in his reply to me

> [@FGear Vehicle Physics (v1.4)](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/988):
>
> I’ve worked on async fixed timestep physics and it’s an advanced feature which is said to be experimental. this on the other hand I’ve never used before, will definitely check it, thanks.

---

<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:** [July 18, 2023, 9:57am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1032 "2023-07-18T09:57:40Z")

</div>

Oh i see, weird.

Well, then i guess we have to use another value to set correctly the skids.

---

<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:** [July 18, 2023, 10:54am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1033 "2023-07-18T10:54:00Z")

</div>

never mind the Z position, the mesh is located where you see it(where it is supposed to be) and it is casted downwards.

the gizmo uses the bone position so it looks fine but I agree this is a bit misleading and confusing.

---

<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:** [July 23, 2023, 10:39pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1034 "2023-07-23T22:39:50Z")

</div>

Hi there,  
There were some questions with the integration of the vehicle in Unreal 5’s template. So I will briefly explain it here.

1. Edit physics asset of the vehicle and remove all collisions then add a box to root. Set Pyhsics type as “simulated”  

2. Set bone names to bone names for each wheel.  
Phys\_Wheel\_FL,Phys\_Wheel\_FR,Phys\_Wheel\_BL,Phys\_Wheel\_BR  

3. Create animbp like Sedan\_AnimBP (dir: /Game/FGearAssets/AnimationBP/Sedan\_AnimBP.Sedan\_AnimBP’)  

Also you can find my test files attached. Extract and copy “Vehicles” folder to “fgearunreal\Content”. Thats it. (Note: Unreal version 5.2.1)  
[Vehicles.rar](https://forums.unrealengine.com/uploads/short-url/3a1wgZZO5eGD2OZUTlgkZaqOwd4.rar) (8.0 MB)

---

<div class="post-metadata">

**Author:** ![Kon\_Fle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kon_fle/32/577538_2.png) [@Kon\_Fle](https://forums.unrealengine.com/u/Kon_Fle)\
**Post date:** [August 9, 2023, 10:32pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1036 "2023-08-09T22:32:39Z")

</div>

Hi! kind of new user here,

Im triying to figure out how to detect if the car is jumping (not touching the ground) there are some functions for this in unreal for chaos vehicles and characters, but they doesnt seem to work with the fgear vehicle. I found the “get detect ground” and “set detect ground” related to fgear but they dont seem to work in the way that i expected (or maybe there is a setup needed that i dont know of)

this example in the vehicle blueprint keeps printing ground forever:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/b/48b3313bededf167357176e8291a12eae28fb504.png)

---

<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:** [August 9, 2023, 11:08pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1037 "2023-08-09T23:08:02Z")

</div>

iterate over the wheels and check if any of them is touching the ground with the Wheel.hasContact function.

---

<div class="post-metadata">

**Author:** ![Kon\_Fle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kon_fle/32/577538_2.png) [@Kon\_Fle](https://forums.unrealengine.com/u/Kon_Fle)\
**Post date:** [August 10, 2023, 10:07am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1038 "2023-08-10T10:07:46Z")

</div>

Thanks very much, it worked great! is there any function/node reference page/document for fgear?

---

<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:** [August 10, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1039 "2023-08-10T21:43:59Z")

</div>

there is a link at the end of the Overview.pdf for an api reference file but it might be a bit out of date, I would just read the headers…

---

<div class="post-metadata">

**Author:** ![DFKETGS2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DFKETGS2](https://forums.unrealengine.com/u/DFKETGS2)\
**Post date:** [August 12, 2023, 10:47pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1040 "2023-08-12T22:47:18Z")

</div>

Hello @lazybitgames , I activate the “Sticky tire max speed” and the car slides little by little to the side, it slides very slowly but it is noticeable, when I deactivate it the car cannot brake completely, I have activated the “FgearTireMF61” tire

---

<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:** [August 13, 2023, 11:17pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1041 "2023-08-13T23:17:51Z")

</div>

sticky tire is not a toggle, for ex. when you set it to 5 then it is activated when you go slower then 5kmh. if it is a small number it might be difficult to activate it. so what’s your sticky tire max speed? if you’re certain you meet the criteria but still fail then send your vehicle save via mail.

tire model has no effect on sticky tire mode.

---

<div class="post-metadata">

**Author:** ![Mooco2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mooco2/32/755365_2.png) [@Mooco2](https://forums.unrealengine.com/u/Mooco2)\
**Post date:** [August 17, 2023, 6:37am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/1042 "2023-08-17T06:37:13Z")

</div>

Hi all,

New dev here, I probably am doing something super basic wrong but when I try to import my model, this is the closest I can get to movement of any kind. Inputs aren’t really reading and my wheels are all out of whack. I’m not sure if my issue is an Import issue or something with FGear, but could anyone possibly assist? Thank you!

Quick GIF to show what’s going on: [Imgur: The magic of the Internet](https://imgur.com/a/jyZfSem) (idk why there’s an age gate warning on it but I swear it’s just an Audi with some bugged out wheels)

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

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