MKS and Corona units

Could someone kick me with the intended use of MKS for the new physics.fromMKS and physics.toMKS functions?
Sorry, this must be a really dumb questions…can anyone at Ansca tell me what these are? [import]uid: 21331 topic_id: 20771 reply_id: 320771[/import]

Anyone?? Danny?? Please :slight_smile: [import]uid: 21331 topic_id: 20771 reply_id: 82546[/import]

Hi :slight_smile:

“MKS represents the system of measurement in the metric system; it stands for “meter, kilogram, second.” The MKS system represents the SI base units for length, mass and time, which constitute the most widely accepted units for measurement in the scientific community. This stands in contrast to the cgs (“centimeter, gram, second”) unit system which has generally fallen out of favor (although some theoretical physics and electromagnetism circles still use it). Moving between the two unit systems requires only a few simple steps.”

Source : http://www.ehow.com/how_7341792_convert-mks-physics.html

And from the builds :

Physics: adds convenience methods for conversion between MKS and Corona units: physics.toMKS( unitName, value ) and physics.fromMKS( unitName, value ) to convert to MKS and from MKS units, respectively. ‘unitName’ can be “length”, “velocity”, or “angularVelocity”.

Hope that helps :slight_smile: [import]uid: 84637 topic_id: 20771 reply_id: 82765[/import]

Thanks for the respons. I WIKI’d it, and pretty much got the first part.

I guess i just can’t figure out the intended usage for, let’s say, velocity. If seconds is seconds in CGS, then wouldn’t the return be seconds in MKS? How does it know the input measurement base?

Sorry, don’t mean to waste anyones time, I just wanted to be sure I was not passing up something of use to me.

When I first saw it, i thought we were finally going to get some faster “gaming” math functions and got excited, but then found myself staring blankly. :slight_smile:

What I mean by faster “gaming” math functions are functions like “GetAngleFromCoronaVelocity” type functions. I have a small list of convenience functions that I wish were put in at the lowest level and need to get them into the feature request area, but I’m sure you get the idea. Vector related stuff. We need it bad!

Thanks again for taking the time to respond. [import]uid: 21331 topic_id: 20771 reply_id: 82779[/import]

No problem.

Take a read here also

http://www.box2d.org/manual.html

Section 1.7 [import]uid: 84637 topic_id: 20771 reply_id: 82780[/import]