small demo on car physics
$500-600 USD
S-au achitat serviciile după ce au fost prestate
We are developing a 3d rally game in C++ and we need someone that takes care of a part of the car's physics .
Basically all we need would be fit in a single routine that gets called at every frame.
It should emulate physics quite accurately but without going too much complex.
DESCRIPTION OF THE C++ ROUTINE:
The function receives in input the normal of the polygon where the car lies on,the Y axis (altitude) of the current land position where the car lies, ? and the acceleration ,brake and steer controls controlled by the user.
The car must have the following static variables that get updated by the function:?
3d vector containing the Car position
3d vector containing the Car orientation
?
The code must emulate the following characteristics that shall be used/passed to the function using static variables:
- Gravity
- Air drag
- Wheel resistance
- Grip of the car
- Mass of the car
- damper power
- the power of the engine is passed though the acceleration value,so you don't have to care to keep an extra parameter for this.
Note that the car must react differently if for example you are in a curve at high speed and you fall on a polygon with?
a different inclination. In this case your grip should change accordingly i.e. you loose the grip .
Also if you come from a jump ,when you fall on the ground again you bounce accordingly to the inclination of the polygon you fall onto.
In order to check that the function works we need a very simple 3d demo.
It has to show a floor of SQUARE (not triangles) polygons flat in some point and more wavy in some other. A point where you can jump,i.e. a springboard, and a very,very simple model of a car .?
The demo can be made for windows OR mac.
ID Proiect: #2842688