I can't seem to find an example of a simple bouncing ball. Imagine the "fish_emit", however in stead of
var tumblespeed[3] = 5,0,0;
I would like to add gravity (arc trajectory - depending on tilt or other variable) - and the ball bounces on the floor or off walls until it slows down (friction).
I have looked at some grenade/catapult scripts however I can't get some to work - and some are just models of an animated arc (no physics involved).
If I must - I will try to rewrite the equation of a ball from some physics formulas - however I am still a newbie at WDL code. I understand the code well - but have trouble with context/formatting/ WDL concepts. However - I know it will take me like 10-20 hours to get it right from a few scraps of code and a physics example.
Basically if someone has encountered this problem - or has a script of a bouncing ball - or could point me into an example - I would return the favor and time spent to help me. My strong points are graphics, textures, and models and animation. If you need a quick logo or model - that is well worth the effort for me.
Thanks
-Peter
