I basically modified the circle creation in TestStack to represent a bowlng ball
Ill give specifics. Here is how I made my calculations and people can tell me how I messed up.
A bowling ball has the following specs:
radius: 4.25 inch (10.8 cm == .108 m)
weight: 15 lbs (6.8039 kg)
Based on this I calculate the radius to be (pi * r^2) = .03662 m^2
So the density in kg/m^2 = 6.8039/.03662= 185.77
So for the circle def, I replaced what is currently there with
as you can guess the ball comes out being very small. i can increase the scale to 250 from 30, but then the behavior of the physics seems a bit distorted.
please advise
Ill give specifics. Here is how I made my calculations and people can tell me how I messed up.
A bowling ball has the following specs:
radius: 4.25 inch (10.8 cm == .108 m)
weight: 15 lbs (6.8039 kg)
Based on this I calculate the radius to be (pi * r^2) = .03662 m^2
So the density in kg/m^2 = 6.8039/.03662= 185.77
So for the circle def, I replaced what is currently there with
Code:
var cd:b2CircleDef = new b2CircleDef();
cd.radius = .108;
cd.density = 185.77;
cd.restitution = 0.5;
cd.friction = 0.3;
cd.radius = .108;
cd.density = 185.77;
cd.restitution = 0.5;
cd.friction = 0.3;
as you can guess the ball comes out being very small. i can increase the scale to 250 from 30, but then the behavior of the physics seems a bit distorted.
please advise