The Unity3D game engine does not need any special presentation. For those who do not know what it is, they can look at the website unity3d.com/unity/ or search for other topics in the Habré about this wonderful cross-platform engine. Many additions, models and other packages have already been written for him. About one of them will be discussed. UnityCar is a full-fledged physico-realistic car simulation package for Unity3D that is easy to use and implements many physical models, including damage and destruction models.
A short video demonstrating the package features:
')
Creating games is a complex process. There are many solutions that are designed to facilitate this process. Some engines specialize only in graphics and control (for example, XNA), others in physical calculations (for example NVidia PhysX), others on something else. But Unity3D allows you to connect the various parts of the game and graphic logic together (what the name "as it hints at"). PhysX allows you to do basic physical calculations, so you need a deep understanding of the processes of mechanics, aerodynamics, hydrodynamics to create physic-realistic games. But such an applied thing as vehicle physics can be implemented as a finite number of code that requires a minimum of skills from you (the game developer). UnityCar just implements the appropriate physics in the framework of projects on Unity3D.
UnityCar features
Despite the ease of installation (in two clicks) and use, this engine does not suffer in functional terms, and you can select its main features.
Realistic tire model
In the theoretical part, it is mainly based on the formulas of Hans B. Pacejka (expert in the field of vehicle physics and wheeled systems). Equations of longitudinal and lateral relaxation and (optionally) equations of elastic deformation are also used. This will search for all points of contact between the tire and the road surface, and not just one (as is the case with Wheel Collider), but this can be turned off when using arcade mode (that is, with simplified physics and less use of resources).
Realistic model of suspension, transmission
The behavior of springs, shock absorbers (both in compression and in tension) and the anti-roll bar are simulated. Realized high-grade models of clutch, differential, gears and gears.
Destruction and damage
Possible deformation of the vehicle body, the failure of its individual parts. Also, cars can be repaired. In the next versions it is planned to expand the model of destruction, including the addition of ignitions and machine explosions.
External elements
Built-in functionality of brake lights, dashboard. The dashboard can be configured arbitrarily, a speedometer, rev counter, tachometer, ABS, transmission, etc. can be displayed.
Sound accompaniment
The sound part of the engine reproduces all kinds of noise, such as engine noise, suspension, transmission, tires, damage, drifts, friction, driving on sand, on grass, off-road. The sound also depends on the car model.
Simplified driving
Non-blocking brakes, stabilization system, traction control, training mode. Arcade mode, it significantly simplifies the physical model, management becomes easier, but it reduces the realism. In a sense, this mode is similar to driving in GTA4.
Demonstrations
In order not to take a cat in a bag, you can try several demonstrations where various engine features are implemented. These examples do not pretend to photo realistic, but allow you to test the features of UnityCar directly in the browser (in the Unity Web Player).
Use engine
UnityCar can be used wherever Unity3D works. The engine itself is written in C # and comes with the source code. The engine also works on mobile platforms (iOS and Android) and performs work at an acceptable speed. UnityCar is compatible with analog control devices (steering wheel, pedals). You can customize many parameters, and in the absence of the desired settings, you can make changes to the source code. There is a wiki documentation and the possibility of feedback. Special attention is paid to the performance of the engine, especially on mobile devices.
Terms of purchase
UnityCar product is paid. The cost of a direct payment through PayPal is 97 euros, and through the Unity Asset Store 143 euros. Within 30 days after payment is guaranteed the possibility of a refund. After payment you will receive:
Links to purchase the product are on the site . You have the right to use the purchased product for almost any purpose, naturally, without the right to resell the original product and without the right to publish the original / modified UnityCar code.