I have played many three.js racing games and nothing come close to trigger rally, the new three.js racing games have better graphics, high quality yet trigger rally is more engaging? if i could just take trigger rally characteristics and bring it to our three.js racing project we are currently developing. which lacks the feeling of speed. something about trigger rally the makes me want to crash the keyboard and i dont feel it in our new three.js racing project. the feeling of pressure.
Example this new three.js driving game feels not as live as the trigger rally, it almost feels like its not moving at all.
Solid physics/collision detection that doesn’t feel mushy. Car sims like trigger rally aren’t simulating each wheel as a rigid body and using the spinning wheels to drive the car.. they are creating an internal model describing the torque/simulation of the engine, and driving a raycast vehicle with it. the vehicle is a single rigid body floating on 4 raycasters, and forces are directly manipulated in the simulation loop to prevent sliding, and apply inputs.
Here’s the trigger rally vehicle sim: https://codeartemis.github.io/TriggerRally/server/public/scripts/game/vehicle.js
Another absolutely vital component is a fluid and tight camera controller with a little movement but not enough to become distracting.
Finally all this is designed with no allocations in the main loop to prevent garbage collection from causing spikes that would cause the physics or camera to stutter.
I’m just scratching the surface, but trigger rally is an arcade driving sim from the ground up.