Weight and Size calc for a......
by VcDeveloper · in Technical Issues · 12/10/2008 (8:19 pm) · 2 replies
I want to apply Mass to a character based on Weight and Size. For instance if a person is 6"2' at 220lbs. Is there a calc that would give me Mass based on this?
Because I don't want all my enemy's to have the same Physics characteristics. You know, some weak, strong, heavy, light etc..... ,because I want different responses based on the Mass of the weapon used.
Also, is the a guide anywhere that I can use for setting the Physics for certian assets like rocks, trees, cars, etc...?
Because I don't want all my enemy's to have the same Physics characteristics. You know, some weak, strong, heavy, light etc..... ,because I want different responses based on the Mass of the weapon used.
Also, is the a guide anywhere that I can use for setting the Physics for certian assets like rocks, trees, cars, etc...?
Torque Owner Tom Biagioni
so you need to convert your weight to newtons using this formula
float weight = 220(1/.2248);
that will give you the weight in newtons
now assign gravity to g
double g = 9.8;
calculate
mass = weight/g;
there you go :)
hope this helps.