Sascha Willems wrote:Leadwerks wrote:I notice the tank seems to spin very easily, as if it doesn't have much mass. It also wobble frontwards and back a lot.
I have a model of a JagD Panther I'd like to do a demo with in my engine. This is pretty sweet.
Well, it's a non-finished demo of a proof-of-concept
I'm still working on it and tweaking it. I don't think that the fast spinning is a mass problem, cause that would then also happen when starting to accelerate, I thin I'll have to take the track's speed into account when accelerating the contacts along their tangents. Wobbling is also because I'm still working out the best way to have the tracks feel dynamic and not as if the whole tank was a monolithic block of metal, and now it's just using a simple hinge. And a bit of wobbling is realistic, just look at a tank hopping around a terrain, although I'm still experimenting on what's the best solution for having a trank track that feels dynamic and realistic.
Your tank is preety good, but I think that anyway the more realistic is using a wheel per every tank "wheel".
In this way the behavior the trunk is almost perfect due to we can control every wheel suspension, spring size,torque per wheel, aceleration etc. And the behavior on sudenly hill is perfect too.
But this way is horriyble slow.
With the wheels, the visual represtantion is amazing. Painfully I use some mix because the low performance and must reduce even the tank numbers.
Next week if I continue working on this applicaton, I will see what should do, myabe wth the next newton version is possible to use the wheels form with good performance, I don't know.
By the way, both videos are realy amazing .