Is there an Editor for setting up Physics parameters ?

rocwood

29-05-2006 10:58:48

I am new to Newton, and I could not find any editor or file-format to setup physics parameters which I would use later in my game.

As far as I know, quite a lot of physics engines provide an editor or plugin in 3d design tools, that make it easier for game developer setting up physics parameters for mesh/world/character without hard-code in source code.

hmmm, if anyone could bring me some idea or provide some staff, thanks very much in advance.

danharibo

29-05-2006 12:01:16

if you want to test your phisics, look for newton playground(fun :D )
But if you mean to set gravity, then you could just:

getline(mConfigfile,gravityreal)

And then apply that in a custom callback.

pfo

31-05-2006 00:47:13

I am new to Newton, and I could not find any editor or file-format to setup physics parameters which I would use later in my game.
Newton doesn't have an editor or any specific file formats. All Newton will do for you is simulate physics, you decide how and when forces are applied to object as well as material parameters on each object (softness, elasticity, friction, etc..)

As far as I know, quite a lot of physics engines provide an editor or plugin in 3d design tools, that make it easier for game developer setting up physics parameters for mesh/world/character without hard-code in source code.

You could easily do this w/ Newton, but it would be up to you to decide how to make the tools to edit physics parameters. I have 2 tools that I made using Newton to edit stuff: a material editor where I can drag a bunch of cubes and spheres around a terrain and assign different Newton Materials to each one to test their reactions with different materials. This makes it easy to make materials that can bounce a lot (high elasticity), or be slippery like ice (low friction). I can also setup sound fx so that when objects collide sounds play automatically (even changing pitch based on collision speed). Another app lets me assign custom properties to meshes to be used as Newton Bodies so I can control how force and torque are applied as well as other things. It took a long time to make the tools (~6 months), but they are quite useful. The NewtonSDK examples show you how to do a lot of these things.

What physics engines do you know of that automatically provide you with custom parameter editting / file formats? I haven't heard of any like that.