# Is there an accurate way of representing a meter in JmePhysics?

I'm making a simulation and I need to represent some physical measurements, and one of them are the meters. How can I do that?

Besides if you know something about the units of force for the vectors 3f used in the function addforce. For example if I apply a vector (1,0,0) to a box, what are the units of the force I am applying to the box…

Thanks in advance, have a nice day!!

Well, it's just 'units' in general. You can decide to have 1 distance unit equal to 1 meter. Same goes for the time steps. Usually jME (Physics) uses 1 time unit is 1 second. Regarding to the forces I can't tell from the top of my head. Have a look into the ODE doc for an explanation how they depend on simulation step size and other units.

I've been through all ODE docs and never found any explanation to what the units means in real life.

That goes for all units: Force,weight,time,distance. It's quite annoying.

I think it is safe to assume the units for forces, speed, accel, etc are just functions of the basic units time, distance and mass as in the international standard. That is:

Speed = distance / time

Acceleration = distance / time ^2

Force (weight) = mass * distance / time^2

and so on. In that way, you have a definition independent of the units used, and it is up to the programmer to decide.

Pretty cool, huh?

duenez said:
In that way, you have a definition independent of the units used, and it is up to the programmer to decide.

yes, that's what I meant :)