density

excuse my math dumbness...

for figuring out density values of real world materials in box2d, with units set to meters...

if Titanium is 4.540 g/cm^3

then that's

454 kg/m^3 ?

EDIT: nope! it's 4507 kg/m3

it's been way too long since I had to use even basic algebra!

SOOOO...

Since box2d density is mass per area rather than volume, does the number have to be adjusted for that too?
I would just assume everything is one meter deep, then you can use the volumetric density as is. Consistency is more important than the absolute value.

Original thread: https://box2d.org/forum/viewtopic.php?t=229