Physics Engine?

BlitzMax Forums/BlitzMax Programming/Physics Engine?

There should be one for Blitzmax by now, is there?

If not, any links on the subject would be appriciated.

I've been using the Photon Physics Module. It's basic verlet suff but I modified it so that it can deal with variable timesteps.

It's somewhere on here.

thierry-myke has made a module which let you use Newton, which is an excellent physics-api by the way.
Way better than Tokamak in my opinion.
Here-> http://www.tmyke.fr/indexGB.htm

Yes newton it's at the moment the only phisics-module right now and it's seems to be perfect.

About the photon Phisics module created by {cYanide} it looks like it's not open for the public.

Best vote go for newton. (Dificult to get used to it but it worths the swept)

ask cyanide, he'll share it with you.

I thought pub.ode was meant to be coming soon. Like, well before the 3D module.

*indie zips it*

Thanks, I'll take a look at both. But I guess my own vectors stuff is the sanest way to go.

Isn't newton for 3D?

All this physics stuff can be really complicated. Nice to have a module, or to find an easier way of doing things.

Yes newton is for 3D. When the module was out I was very excited and tried to make it work for 2D. Here is the post http://www.blitzmax.com/Community/posts.php?topic=51229

But if you go with newton download the original sdk from newton's site www.physicsengine.com
to have the documentation.

And look at http://skal.planet-d.net/demo/matrixfaq.htm
to make a start with matrix(If you down't know theis usage with 3D)

Nice work Dimitrios! It sure is complex, but it seems to work. Have you done anything more with the physics in 2D? I mean if the time to implement and learn the library will be longer than doing my own stuff then I don't know if it's worth it. What complex and cool things that I can do with newton? (only 2D for now)

Laggy forums today =)

Thanks. I haven't done anything more with Newton in 2D, cause my knowledge in coding it's not wide, plus none of the gurus of Newton in this forum posted any code fixes. I was stacked with the joints but I haven't putted any real effort.
If I am right Newton it's not so good for 2D cause to make it work you have to run in every loop for every node functions to convert the matrix to 2D coordinates and rotation and lock the Z position.
Newton was created in that way to be used with opengl , directx matrix(And the graphic cards use matrix)


P.S. Dimitrios it's ok.