I have created a bouncing ball simulator using XNA and I am happy with my use of gravity, acceleration, change of direction and friction/spin.
However, I am now at a stage where I would like to define my ball as being made of a different material, subsequently meaning that the "bounce height" will be different depending on the elasticity of the material.
Ultimately, I will also want differing types of bounce surfaces as well. This will mean that I could have bounces as varied as:
- Rubber ball on concrete.
- Ping-pong ball on wood.
- Concrete ball on mud.
- Etc., etc.
My question is; How should I alter my bounce height depending on the material(s)?
I have found some information about Young's Modulus of Elasticity but I would be grateful if someone could advise as to how I use this (or another) value as a ratio in my "bounce" calculation.
Thanks in advance and please let me know if you would like to know anything else.