I am experimenting with the idea of creating a ball game. I managed to modify the pop gun script to allow me to throw balls, and I even managed to create a basketball hoop that uses llVolumeDetect() to sense when a ball passes through the rim. I think I have acheived the right amount of force to create realistic flight trajectory, and I believe I have found a way to vary the impulse depending on how long you hold the mouse button down before releasing. All of this works wonderfully.
Here is my problem ...
I am having trouble achieving realistic bounce physics. When the ball impacts a vertical surface like a wall, it bounces back farily aggressively. In fact, it bounces too much - making bank shots almost impossible. But when it impacts the ground, it dribbles along and barely bounces at all. I noticed that the commonly found "Beach Ball" object behaves in the same maner.
I have tried varying the material types of the ball, and the surfaces without much (or any) effect.
Is there a way to make a ball behave, well, more like a ball?
I suspect the answer lies in the difference between the amount of force or momentum imparted by my throwing (impulsing), versus that imparted by gravity. The ball falls to earth, but with little force.
I am new to this ... and I realize there are a lot of properties to tweak, and I may not be using terminology correctly. I appologize if I am not making sense.
Any ideas or tips would be greatly appreciated.
Persephone Milk