15 hours ago, Hodgman said:
Fake it. If the player is holding the steer button, then rotate the car by some arbitrary amount.
I know i can fake it, i can also have hoovercars without wheels.
The thing is i want it to be exact, like i have the wheels rotating also, its done with math, the wheels rotate perfect.
The next thing is the rotation of the car itself, i dont really wanto use weights and gravity and complicated stuff, just the most simple but realistic movement.
15 hours ago, Hodgman said:
What's more, when you steer, the front wheels are no longer pointing in the same direction that the car is travelling it. This causes the wheels to slip sideways. The friction of a wheel sliding sideways is actually very different to the friction of a car sliding forwards/backwards, and the front wheels try to resist this sideways slipping motion, which also applies a force on the front of the car, causing a torque too.
I dont think the rotation movement depends on weight, weight has only effect on acceleration and slowdown for movement.
Maybe i should get the direction of both back and front wheelsets, and get the average value to start with ?,
ok that will steer super fast, maybe i need the friction to slowdown first before rotating thats right, not a big deal.
15 hours ago, Hodgman said:
When you steer, you start pushing the front of the car sideways when you accelerate, which starts to rotate the car.
Nice, i will adjust the center point of the car to between the 2 back wheels.
6 hours ago, JoeJ said:
If for instance, we talk only about usual steering using the front wheels and we make a left turn, the left wheel gets more rotated inwards than the right wheel. You can model this by aligning both wheels to the tangent of two adjacent circles, where the difference in radii is the distance between the wheels, but both circles have a common center to minimize unwanted side slip. These radii define the turning radius. The same principle can be applied to all other steering wheels as well.
(I'm no expert - in fact i remember this from building Lego cars as a child
)
Oh please dont make it more complicated.
Something like grand turismo 1 should be do-able with my current lego skills, then i can make a very simple game to test online gaming.
Maybe with some rollcage loopings hope so..