weasel
06-14-2009, 01:47 PM
I thought listing some of this technical information would be of use to some people during beta testing. I'll try to keep it updated while I update them in the code.
This stuff is important because the damage the player takes is based on the weight*velocity of the object as compared to the mass of the player. The heavier the object is and the faster it moves, the more damage the player takes. So an incredibly dense object (like when aluminum had 2500 density) moving very slowly will kill the player on touch.
Reference points:
2100 density = standard grade building concrete
90 density = basketball
23cm = diameter of a basketball
2% restitution = springiness of concrete
78% restitution = springiness of a basketball
Player:
1m diameter (circular shape) (3'2" tall)
90 density
0.1% restitution (hard to control the player if he bounces a lot)
Walls:
2% restitution
TNT:
50 density
40% restitution
width: 40cm
height: 10cm
Double Bonds:
80cm thick
1200 density
2% rest
Single Bonds:
40cm thick
600 density
2% rest
Structural Bonds:
40cm Thick
300 density
2% rest
(weight variable)
Elements:
400 density
2% rest
1m default diameter (width/height for aluminum)
This stuff is important because the damage the player takes is based on the weight*velocity of the object as compared to the mass of the player. The heavier the object is and the faster it moves, the more damage the player takes. So an incredibly dense object (like when aluminum had 2500 density) moving very slowly will kill the player on touch.
Reference points:
2100 density = standard grade building concrete
90 density = basketball
23cm = diameter of a basketball
2% restitution = springiness of concrete
78% restitution = springiness of a basketball
Player:
1m diameter (circular shape) (3'2" tall)
90 density
0.1% restitution (hard to control the player if he bounces a lot)
Walls:
2% restitution
TNT:
50 density
40% restitution
width: 40cm
height: 10cm
Double Bonds:
80cm thick
1200 density
2% rest
Single Bonds:
40cm thick
600 density
2% rest
Structural Bonds:
40cm Thick
300 density
2% rest
(weight variable)
Elements:
400 density
2% rest
1m default diameter (width/height for aluminum)