sergeymakeev / arcadecarphysics Goto Github PK
View Code? Open in Web Editor NEWArcade Car Physics - Vehicle Simulation for Unity3D
License: MIT License
Arcade Car Physics - Vehicle Simulation for Unity3D
License: MIT License
Add Anti Braking System, it will stop and release the wheel rotation. gradually, real cars have this feature.
Acceleration curves with a longer length that the default 10 second curve tend to be inaccurate, with acceleration faster than described in the curve.
Increasing the number of iterations of the brute force reverse curve evaluation does solve this problem but I have created a fork and associated pull-request replacing it with a binary search. This changes time complexity to O(log n) rather than O(n), honing in on the correct value in less iterations while allowing for performance tuning by the user.
I'm wondering, with raycast wheel physics what is the best way to implement parking break to prevent the vehicle sliding?
Is it possible to add a gear shifter or no?
and if yes, what should i do?
Thanks,
If been trying to get skidmarks to work but since this isn't using the standard wheelcolliders I don't know where to begin.
Even with the Sandbox scene, I found an idle vehicle on flat terrain will always roll backwards. I traced it to line 1114:
1114 Vector3 wsDownDirection = transform.TransformDirection(Vector3.down);
Changing wsDownDirection from local down direction to global seems to solve the issue:
1114 Vector3 wsDownDirection = Vector3.down;
I found even when the axle offset y is the same for both rear and front wheels, sometimes the car doesn't align perfectly on the ground, so wsDownDirection doesn't perfectly align with global down, so the car is 'pushed' slightly backward. Any consequences to using Vector3.down?
Hi Sergey,
Is possible to make drift physics with your car physics ?
Thanks
Terrain's material was not show in my project. And the Log message in Console show like follow:
Could not create a custom UI for the shader 'ArcadeCarPhysics/Terrain'. The shader has the following: 'CustomEditor = '. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
This demo isn't running on my PC. It says that the app cannot be opened on this PC, so on what platforms can I actually run this game on?
Hello and thank you very much for this project! I will use it to do AI for racing with Unity ML Agents.
I have a little problem, I opened the project with Unity 2018 and it seems some textures are missing, console shows no errors - https://puu.sh/DOcxD/7be31a90ea.png
Is there a fix?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.