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

<div class="post-metadata">

**Author:** ![xetura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xetura](https://forums.unrealengine.com/u/xetura)\
**Post date:** [December 4, 2019, 9:03pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/82 "2019-12-04T21:03:10Z")

</div>

> [@lazybitgames](#):
>
> look closer 😃
> 
> check CoreModule.pdf -\> Transmission Settings

lol! I blame it on not having coffee before I read it. 😛 Thanks so much for this update!

---

<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:** [December 4, 2019, 9:44pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/83 "2019-12-04T21:44:20Z")

</div>

> [@lazybitgames](#):
>
> it has a simple reason, the character controller is a kinematik body so the mass of the vehicle does not matter.  
> -you can roll your own character controller with a dynamic body which can interact with the world both ways.  
> -not sure about this but may be you can detect the collision(or future collision) between the character controller and the vehicle body then prevent the character controller from moving towards the vehicle.

i do not have deep knowledge about unreals character controller but it seems that you can disable pushing objects by modifying some parameters, check the image below, try setting initial push factor and push factor to zero.

![Untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/2/128eecd8f46eb6407509bf3e1f74ec43c6420e66.jpeg)

---

<div class="post-metadata">

**Author:** ![BlueMountainsIO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bluemountainsio/32/1193954_2.png) [@BlueMountainsIO](https://forums.unrealengine.com/u/BlueMountainsIO)\
**Post date:** [December 5, 2019, 12:25am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/84 "2019-12-05T00:25:53Z")

</div>

Unfortunately none of those settings seems to have an effect on the physics interaction between the character and the vehicle. I also went through the source of the CharMoveComp to find any hints of where the push force occurs.

It’s really strange, it looks like no setting in the engine influences the said behavior.

---

<div class="post-metadata">

**Author:** ![YOHAMI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YOHAMI](https://forums.unrealengine.com/u/YOHAMI)\
**Post date:** [December 5, 2019, 11:09am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/85 "2019-12-05T11:09:05Z")

</div>

Is it possible to make a bike with this plugin? cheers

---

<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:** [December 5, 2019, 11:22am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/86 "2019-12-05T11:22:00Z")

</div>

> [@BlueMountainsIO](#):
>
> Unfortunately none of those settings seems to have an effect on the physics interaction between the character and the vehicle. I also went through the source of the CharMoveComp to find any hints of where the push force occurs.
> 
> It’s really strange, it looks like no setting in the engine influences the said behavior.

yes, i have also tried myself and you can not completely avoid pushing the vehicle and you can not be pushed by the vehicle in any way.  
i read in a forum post that you can attach a kinematic collider to the vehicle that only collides with the character or attach a collider to the character that only collides with the vehicles to prevent physical interaction but not sure if it will work.

---

<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:** [December 5, 2019, 11:26am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/87 "2019-12-05T11:26:09Z")

</div>

> [@YOHAMI](#):
>
> Is it possible to make a bike with this plugin? cheers

you can only fake it, put the left right wheels at the same location or disable one of them and then you need external forces to keep it upright.  
bikes have different dynamics and fgear has no direct support for them.  
there is a fake bike sample in the unity version, you can check this webgl demo : [FGearSandBoxDemo by tasadar](https://tasadar.itch.io/fgearsandboxdemo)

---

<div class="post-metadata">

**Author:** ![FisherDai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FisherDai](https://forums.unrealengine.com/u/FisherDai)\
**Post date:** [December 5, 2019, 1:43pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/88 "2019-12-05T13:43:11Z")

</div>

Hi, I’m using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.

---

<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:** [December 5, 2019, 1:46pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/89 "2019-12-05T13:46:04Z")

</div>

> [@FisherDai](#):
>
> Hi, I’m using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.

thanks for the feedback, we will check it.

---

<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:** [December 5, 2019, 2:07pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/90 "2019-12-05T14:07:07Z")

</div>

v1.1 is available now

CHANGELOG

- Network replication
- Suspension improvements including hard contact option
- Auto reverse option for transmission
- Sample backfire implementation for FGearEffects component
- Runtime modification map for example project
- Enter/exit vehicle map for example project
- Stress test map for example project
- Multiplayer map for example project
- Two additional sample setups for the sandbox map
- Minor improvements and bug fixes

Additional Notes:  
-For network replication we tried to use regular pawn replication and tried to make it work along with physics. We only send/receive user input in addition to pawn replication so the effects are triggered like a local game which makes things easier. Depending on your feedback(if it is problematic) we may rewrite our current approach in the future releases.  
-About the multiplayer map you can set player count and test directly or tick dedicated server option and pick the server and join by entering ip address.  
-You can set the vehicle mass, center of mass offset and inertia scale at runtime with this version.  
-You can assign a new torque curve to the engine at runtime with this version.  
-You can get max engine power(kw) and max power rpm with this version.  
-You can get max speed for each gear with this version.

---

<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:** [December 5, 2019, 2:32pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/91 "2019-12-05T14:32:38Z")

</div>

> [@ALEXSEEBEN](#):
>
> Hi! I’m researching your plugin and found something . When the car is on the descent ( without handbrake) begins to move sideways . Can this be fixed ?

i need to see a gif or a video to understand the problem.

---

<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:** [December 5, 2019, 3:31pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/92 "2019-12-05T15:31:02Z")

</div>

> [@ALEXSEEBEN](#):
>
> [https://youtu.be/m92wPrZ\_t2I](https://youtu.be/m92wPrZ_t2I) - Video FGear Problem

i see, that is an inherent problem of pacejka tire model, to solve it usually people use an alternate tire model at very low speeds.  
i did not bother to solve it since nobody has complained about it yet 🙂  
i will put it in my todo list, 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:** [December 5, 2019, 8:20pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/93 "2019-12-05T20:20:16Z")

</div>

> [@FisherDai](#):
>
> Hi, I’m using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.

what kind of animation are you working on?  
i have just created a simple camera animation to test and it seems fine to me.  
are you trying to record sth. like a 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:** [December 6, 2019, 10:23am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/94 "2019-12-06T10:23:25Z")

</div>

> [@ALEXSEEBEN](#):
>
> Hi! I don’t quite understand your answer. Can you explain in more detail ? 🙂

tire models define the friction force generated by the tire and pacejka is the tire model we use. pacejka requires slip ratio(velocity difference between tire and ground) and slip angle(angle difference between tire heading and actual travel) inputs. when these values get close to zero pacejka formulas result also get close to zero, check the graph below. in reality tire force is never zero but pacejka does not handle that scenario. so to solve such cases we can use a different formula or change the way we calculate its inputs so that tires can generate forces when the slip ratio/angle is too small. there are tons of articles available about pacejka formula on the internet, check them if you are interested in details.

![pacejka.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/0/a093bf79b6bad9e5534c73e4a43cfe0cfde0720d.jpeg)

---

<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:** [December 6, 2019, 8:37pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/95 "2019-12-06T20:37:46Z")

</div>

> [@FisherDai](#):
>
> Hi, I’m using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.

Hi,  
I’m working on your problem. I have tried to take a sequence record on unreal’s default vehicle. I saw the same problem. The animation is recorded but not played. Can you let me know how did you record with unreal’s vehicle system(I mean sequence record settings).  
I watched a several video from youtube about sequence recorder. Some guys talk about that issue in comments.  
Also you can see the image below about my test (unreal’s default vehicle).

 ![default_vehicle.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/1/f1769c0df1bf894888a11316db685fed9ad1fe76.jpeg)

---

<div class="post-metadata">

**Author:** ![FisherDai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FisherDai](https://forums.unrealengine.com/u/FisherDai)\
**Post date:** [December 7, 2019, 10:29am UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/96 "2019-12-07T10:29:35Z")

</div>

> [@Last\_Coin\_Games](#):
>
> Hi,  
> I’m working on your problem. I have tried to take a sequence record on unreal’s default vehicle. I saw the same problem. The animation is recorded but not played. Can you let me know how did you record with unreal’s vehicle system(I mean sequence record settings).  
> I watched a several video from youtube about sequence recorder. Some guys talk about that issue in comments.  
> Also you can see the image below about my test (unreal’s default vehicle).
> 
> ![default_vehicle.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/1/f1769c0df1bf894888a11316db685fed9ad1fe76.jpeg)

Hi, for the wheel rotation of unreal template, you can follow these steps after record, then the wheel would be fine. but I did the same thing for fGear, which doesnt work.

- Manuelly swith off “Simulate Physics”, I`m using VH\_Buggy from Vehicle Game as a reference.  
 ![5555.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/9/f97509f39b5bb41dd7ca45ad787386407ac49133.png)

---

<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:** [December 7, 2019, 3:07pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/97 "2019-12-07T15:07:28Z")

</div>

Thank you for information.  
The wheels are rotating with fgear vehicle if i turn off simulate physics as your described.What difference does it make between the two vehicle system by your project?  
Some things are not recorded such as skidmarks. I will keep trying and let you know if there is improvement.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7154409a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7154409a1](https://forums.unrealengine.com/u/anonymous_user_7154409a1)\
**Post date:** [December 7, 2019, 5:23pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/98 "2019-12-07T17:23:56Z")

</div>

great work man 😃 exactly what I was looking for

---

<div class="post-metadata">

**Author:** ![FisherDai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FisherDai](https://forums.unrealengine.com/u/FisherDai)\
**Post date:** [December 8, 2019, 2:45pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/99 "2019-12-08T14:45:54Z")

</div>

> [@Last\_Coin\_Games](#):
>
> Thank you for information.  
> The wheels are rotating with fgear vehicle if i turn off simulate physics as your described.What difference does it make between the two vehicle system by your project?  
> Some things are not recorded such as skidmarks. I will keep trying and let you know if there is improvement.

Hi, the problem is, even if I switched off the simulation option, for FGEAR vehicle, the wheel steering and rotation still doesnt work. I followed the quick start tutorial on Youtube to set up the basic sedan. I`m using UE 4.23.

---

<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:** [December 8, 2019, 7:13pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/100 "2019-12-08T19:13:23Z")

</div>

Hi  
Can you watch this video to see difference. Some options could not seen about my video recorder (Iam using default win10 recorder).  
edit: added second video to easily see wheels rotating

[![]( " - YouTube") ](https://www.youtube.com/watch?v=5BFxm1-0RAY)

[![]( " - YouTube") ](https://www.youtube.com/watch?v=hp6jwJRKy88)

---

<div class="post-metadata">

**Author:** ![FisherDai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FisherDai](https://forums.unrealengine.com/u/FisherDai)\
**Post date:** [December 9, 2019, 12:28pm UTC](https://forums.unrealengine.com/t/fgear-vehicle-physics-v1-4/128793/101 "2019-12-09T12:28:40Z")

</div>

> [@Last\_Coin\_Games](#):
>
> Hi  
> Can you watch this video to see difference. Some options could not seen about my video recorder (Iam using default win10 recorder).  
> edit: added second video to easily see wheels rotating
> 
> [https://www.youtube.com/watch?v=5BFxm1-0RAY](https://www.youtube.com/watch?v=5BFxm1-0RAY)  
> [https://youtube.com/watch?v=hp6jwJRKy88](https://youtube.com/watch?v=hp6jwJRKy88)

So now it`s very interesting, I tested some cars in the template, for Sedan\_BP(also the drift version) it works, but for the Truck and 4WD/FWD it doesnt work. But 4WD is very important for me, could you have a look what cause the problem.

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

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