Giter VIP home page Giter VIP logo

arcadecarphysics's Issues

Suggestion

Add Anti Braking System, it will stop and release the wheel rotation. gradually, real cars have this feature.

Brute force reverse curve evaluation is not accurate with longer curves.

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.

Parking Brake

I'm wondering, with raycast wheel physics what is the best way to implement parking break to prevent the vehicle sliding?

Idle vehicles 'drift' backwards.

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?

Drift physics ?

Hi Sergey,

Is possible to make drift physics with your car physics ?

Thanks

Terrain's material was not show

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?

Doesn't run!

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?

Missing textures

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.