Hi! I made this vehicle class in blueprint for various reasons, watch the video and please tell me what you think of it
Here is the trailer video =D
Also, feel free to download the project file and have some fun with it!
If you would like to contribute to this free project, please contact me. I need help making all of this work in multiplayer but any visual improvement is welcome too!
Forgot to say that the car 3D model come from the internet, I have no idea if it can be used in commercials projects so it would be safe to assume it is not.
and by the way, if you use this project for a commercial project, after changing the 3D models, credits would be appreciated
Discord server to discuss the project in real-time with me and else! Discord
If you have any sugestions for this project I’d like to read them
This vehicle have manual and automatic transmision
-Throttle : W
-Brake : S
-Steering : A D or Mouse X
-HandBrake : Spacebar
-Reverse Gear : Right mouse button
-Change view : V
-Gear Up : E
-Geard Down : Q
-Look Around : mouse X and Y or Arrow keys
-Get in and out of the car : F
-Show/Hide Debug Widget : TAB
Awesome man. I tried something like this a while back but was never satisfied with how the vehicle felt. It was incredibly bouncy, but yours doesn’t seem to suffer from the same problems. I appreciate you uploading the project.
the vehicle in the video is a rear wheel drive, you can see it from the burnout while facing the wall, but you can apply torque to anny of the wheels you want, even apply torque to the left wheels only if you want to xD it is very customizable, and the vehicle body does not have to be a skeletal mesh at all, it can be, but does not HAVE to. I just made a collision mesh inside 3ds max, using the UCX thing. Any mesh you use with the default wheeled vehicle class should work with this class too.
as for the fps, I dont know, I run the project at 210 fps. if I lower it to 60 fps by activating the V-sync, I do not see any difference in the physic simulation at all. Plus you can always activate physic substepping wich is turned off right now as it is not needed.
Yeah it opened fine, it runs at 120 FPS, my FPS the Editor will allow, which is normal for the titan x on my work computer and my GPU at home is a 1080 so I can’t really test it’s performance. The only thing that doesn’t run good on these cards is Forza Horizon 3. I’ll keep messing with it, I moved the camera over to be centered on the vehicle as the offset felt a little weird, and added controller support to it. I need to test the reaction whenever 2 wheels overlap next.
Well you know what the fake wheels does, right? The “Fake Wheels Min Ang Vel” Is how much angular velocity the fake wheels can have under zero. For when the car is going fast on reverse if you set this to zero, you will notice that the wheels won’t seem to spin anymore while driving backward.
(this variable was removed, I now use the “Fake wheels Ang Vel” multiplicated by -1 for the minimum instead of a second variable, It was pretty misleading)
And thanks for the feedback ^^ I did some adjustment to the project and will post a verssion 1.1 very soon
the fake wheels are only for esthetic purpose, there are the physical wheels that are used in the simulation, they are invisible because they spin too fast and it make them VERY glitchy, So I place these fake wheels without any collisions, to be seen instead of the actual wheels that are doing all the job. the only difference is I clamp the angular velocity of the fake wheels to a value that won’t make them glitch out
Little update to add damping to the suspension and a different acceleration curve for every gear
Also quite a bit of clean-up in the blueprint again to make it easier, like tooltips for the variable and such.
Download in the first post version 1.2.
As usual, let me know what I could still improve as I don’t really see anything to add right now x)
Hi, this looks fantastic and i tried to open the project to have a look but it’s not compatable with 4.13 which is the engine im currently using for projects. Would i be able to replicate this following your tutorial in version 4.13 ?
My previous tutorials were made in 4.13 I believe, but you have to know that I used the default wheeled vehicle class for these tuts. It is a whole lot harder to setup and require skinning in your modeling software, and the results are not as good as this project.
you can still install 4.14 in parallel with 4.13, this way you could open the project in 4.14 and reproduce it in 4.13 manually.
You mean by that, that it looks like its drifting too much when it does not? or that it drift all the time when it should not?
you can tune the acceleration and tire friction, also the weight of the vehicle to prevent that. But I think it feels great, now that might just be me tho
Edit: I also have to ask if you have that feeling from version 1.2 ; it was more slipery in 1.0 because of the wheel collision, it made the steering inneficient. Wich was fixed since 1.1