Hi there folks. I'm brand-new to Blitz3D, and I'm already confused ;-)
I've dutifully gotten through the initial tutorial, starting with Hello World, and right now, I'm using Matt Davey's "Matts Balls" program as a way to get used to Entities, Collisions, gravity and other constants and expressions.
I got really far with editing the different constants, manipulating/creating lights, etc.... and then I ran into a set of problems:
1. When I declared that Collisions could exist between instances of CT_BALL, the compiled program exhibited the most bizarre behavior. Instead of the balls being repelled from one another as they were being created, they formed strange, grape-bunch like formations. I assumed that this was because the Entities were being created "on top" of one another, and I'll make some sort of FOR->NEXT loop that will fix that (I hope).
2. I substituted the simple 2-poly plane with a more complex 3DS, and collision detection suddenly went to... a bad place. With fire.
Instead of having the oblong collion zones colliding with the polygons and then ricocheting outwards in a logical manner, the balls tended to "stick", often defying common sense. This didn't seem to change no matter what I tried.
Sooo... I know that looking at a total newbie's source is prolly like pulling teeth, and I may or may not understand explanations as to what went wrong anyway (heh) but here's a link to the modified source and the .3DS used for this experiment.
http://www.wolfegames.com/Annoying_Newbie_Balls.zip
|