Verlet Physics Offroad Car
Community Forums/Showcase/Verlet Physics Offroad Car
| ||
Here are some video's showing my verlet car physics system. Programmed with Blitzmax and minib3d. I'm using the velocity verlet system for the rigid body dynamics and the Pacejka tire physics model to handle the tire forces. It's not perfect and has some issues, such as constraint collapse but is a good foundation to build on. Suspension / Damping Test Flatland Offroad Very much inspired by Terep 2 and 1nsane by Denes Nagymathe. |
| ||
Nice physics |
| ||
Very nice, reminds me of the long time coming project from StevieG! |
| ||
nice demo |
| ||
reminds me of the long time coming project from StevieG! I know he had some personal problems, but I do hope he finishes that project. |
| ||
With this you can probably make a new "destruction derby" or "flatout" :) |
| ||
Thanks for the encouraging comments. :) If i could get the physics somewhere near to physics in 1nsane i would be really happy. I think thats probably sometime off yet though. "destruction derby" or "flatout", both great games. I played Flatout a lot. Implementing ragdolls with car physics was genius. :) It's a pity StevieG's project has taken so long. I know alot of people were looking forward to it. |
| ||
Very much inspired by Terep 2 and 1nsane by Denes Nagymathe. I loved the Terep 2 physics! This is looking really good, especially the J-turns on the flatlands video... what are your plans for this? |
| ||
Just curious about performance. How many cars can you have on screen at once and maintain a decent framerate? |
| ||
My plans are really to just keep improving the physics. Maybe write a game with it. Nothing definite. As for performance. For testing i usually have 10 cars running at 60 fps for flatland driving. I havn't tried any more than that. Offroad is where the fps starts drop. Using linepicks for every atom on every car really hits the performance. I should be able to overcome that issue to some extent when i implement my own terrain picking. I'm currently using linepicks as a quick and easy method for testing. My current PC is getting quite old as well. It's an XP machine so not the quickest. |
| ||
Ok now that I'm curious about that, why not just use a physics library which you have lots to choose from btw, if you're going to make a game? |
| ||
I have used physics libraries in the past. And Newton for instance has a specific wheel collider, if i recall. But, thats not my aim. I just wanted to code my own physics. :) |
| ||
Very impressive Trinosis. Give me a shout if you need a solution to the constraint collapse and any other issues you run in to. |
| ||
Hi Stevie. Thanks for the comments and offer. Very generous. :) |
| ||
Very impressive, your inspiring me to hook up my mothballed machine which has my reigstered version of JV-ODE on it. Never sussed out how to transfer the licence to my current machine ;) |
| ||
But, thats not my aim. I just wanted to code my own physics. :) Even cooler! keep up the good work. |
| ||
Thanks guys :) |