Download

Blue man Vehicle Physics Plugin

**MARKETPLACE https://www.unrealengine.com/marketp…ehicle-physics

You can get the Plugin right now on Gumroad.
https://gum.co/yBYa**

Hi :wink:
This is my new plugin that I have been working on for the last 3 months, I am going to submit it this week.
This is an alternative to PhysX vehicles which come with the Engine and my system is not connected to any existing vehicle systems, it is written from scratch. I originally made this system for my project](https://forums.unrealengine.com/showthread.php?114279-Giants-Of-Destruction-WIP&p=670247#post670247) because I needed a more reliable vehicles that won’t fly into space after a small bump. This system also gives you an option to remove and add wheels at runtime, you can also change vehicle’s engine settings and if you want you can even swap the torque curve. This system is made in a “modular” way so you can add as many wheels as you want.

Multiplayer is supported, it is using the standard server side replication, I am also working on client side prediction with Rewind/Replay functionality. Client side prediction will be include with the Plugin but it is not production ready yet, it is marked as Experimental. You can expect frequent updates as I work on my project.

I’m going to release it for 80$.

**Packaged demo project: https://mega.nz/#!ah9yWJID!GpP-pww9V…XZcr8gdasgoJX4
In the first level in the UI it says that the racing preset is on key 1 but it should be 2, I noticed that after I packaged the project.

Console is set to Del key on the numpad.

Levels:
VehiclePhysics_ExampleLevel (first level)
VehiclePhysics_ExampleLevel_Client (client side prediction (experimental) level)
VehiclePhysics_ExampleLevel_Server (server side replication level)

[TUTORIAL]
Sorry for the music in the background, after I rendered it I realized how irritating it is. There is no voice over because I usually I don’t speak English (and I’m not confident enough :slight_smile: )

https://www.youtube.com/watch?v=_OQNbQRU5RA

Here is quick demonstration :cool:**

https://www.youtube.com/watch?v=pCvfnhQnrGo

https://www.youtube.com/watch?v=rx1v2sAkijk

https://www.youtube.com/watch?v=GGQMbc1rAok

https://www.youtube.com/watch?v=5tGIKr0f0kk

**Also if any of you own my Vehicle AI Plugin](https://www.unrealengine.com/marketplace/item/dec7a44f06c54ff28d2db5b62574629c) you can use it with this one, a while back I added support for non wheeled vehicle so it is going to be fully compatible with this one.

Feedback is welcome, if you have any suggestions or ideas let me know.**

This is what threw me off for a brief moment when I tried to replicate from the example project you provided, but going back through the history of the forum for this helpful plugin I was able to find the answer in post #130 and this was able to get the vehicles moving in my project. So if anyone is finding that you vehicles are falling to the ground and not moveing just go to your projects settings and do a search for sub-stepping and enable both check boxes.
Example of what I was able to get in a day and have not fully delved into the plugin all the way but getting very get control for the vehicles so far.

Yes, it supports standard server side replication with listen and dedicated server. Client side replication is just a different method of movement replication, basically client will have full control over its replication so it doesn’t experience any movement corrections or lag. Anything vehicle physics related is covered. There kinda already is a list, you can find the plugin at “Epic Games\Engine Version\Engine\Plugins\Marketplace\Plugin Nanme”, and locate and open “LandVehicle_EngineComponent.h”, any variable which has “BlueprintReadWrite” in UPROPERTY macro is accessible at runtime, it looks like this

Hello i find the problem of the force field that pushes the vehicle away,just disable Sphere Trace in the 4 wheels,and works fine now :slight_smile:

Sorry about that. Here they are

Thank you for the tip, I didn’t notice that at all, most likely because the wheel gets updated to the correct position next frame, I will add it to the next update most likely.

It is not necessarily a problem, the same thing happens in real life too, it is noticeable on very fast and light vehicles and some projects might prefer to have that part there so that’s why I left it and didn’t try to cover it up with counter torque or something.

Implemented friction for the custom solver, sleep state is currently quite broken so don’t look at that :stuck_out_tongue:

On another note, I tried updating from 4.17 to 4.19 today and it keeps giving me an error for your plugins, saying they’re missing. I’ve tried removing them and re-installing them and I still can’t get it to work. Not sure how to fix this. I searched, but didn’t find any solutions.

I looked for the AI plugin forum post, but couldn’t find it. Apologies if this isn’t the right place to post this.

I made a “master vehicle” based on this physics plugin. Then I made two children based off of it: “master player vehicle” and “ai master vehicle”. The problem is I can’t plug anything into “vehicle movement component”. This seems to only work with the default Unreal vehicle types. Please tell me there’s a way to get it to work with a vehicle made with your physics plugin.

Alright, I did find this post after searching more.

Not sure if I have this hooked up correctly, but the vehicle won’t move.

Just take needed component of the wheel and take transform from it:

I bought the plugin and experiencing difficulty in parking the vehicle still on the ramp with handbrake. As photo displayed, we tested on the example, printed out the Speed of each wheel, from the following part in SuspensionPhysics_component.cpp, it is very close to zero on the ground, but stay around 15 while handbrake is pressed, which suppose to be zero as well.


if (Handbrake)
        {
            N_HandbrakeWheels = N_HandbrakeWheels < 1 ? 1 : N_HandbrakeWheels;
            RollingResistance = FMath::Clamp(((-WheelRollingResistance * 100.0f) + -(Handbrake_Multiplier * 10.0f)) * (Speed * 1.0f), -Handbrake_GripLimit * 1000.0f, Handbrake_GripLimit * 1000.0f) * BodyInstance->GetBodyMass();
            float HandbrakeRollingResistance = -Speed * 20000.0 / N_HandbrakeWheels * StickyTiresHandbrakeMultiplier;
            RollingResistance = FMath::Lerp(RollingResistance, HandbrakeRollingResistance, StickyTiresRatio);
        }

We realized blueman isn’t active anymore, does any owner of plugin has a solution? Where can I find the support email of blueman?

Thanks! Qing