Basketball

Posted By: Anonymous

Basketball - 08/11/03 23:59

Hi all,

I tried making a rim out of wed blocks for a basketball game, basically out of 8 5-sided cylinders. My 3DGS has problems when the lowploy ball hit's a certain edge or intersection of the rim. 3DGS crashes - and if it was in fullscreen mode - my CPU would hang for quite a while. The problem occurs more when it's a higher poly model for the ball, of course. I don't see this problem at all when it bounce of the corner of just a box - but a cylinder block causes a crash.

I can think of how to rim a few different ways but was wondering if it would be practical or if anyone has suggestions.

Option 1: make a round chain of sprites kinda like Ventilatos crane cable and hide it - with physics on. Over it put a nice mdl of a rim.

Option 2: Find a wed block that doesn't make the ball crash at intersections or corners.

I am also aware setting could affect these crashes so I will test a little. But I was wondering if anyone had similiar experience and suggest a solution. As well I would liek to note if I make the rim bigger - there is less problems - but it still irks me that it happens and I need to find a solution.

Help would be appreciated. Thanks. [Smile]
Posted By: Anonymous

Re: Basketball - 08/12/03 11:17

I 16 Sided Cylinder subtracted from another has not crashed the system - yet. I will be more careful with physics and small intersections.

Now the problem seems to be from time to time the ball bounces off a corner at high speeds. As well objects seems to scale walls like elevators. I am going to mess with setting and hope to turn down some of the abnormalties.

I think from what I have read so far on the forum is to make sure the forces are kept low, and use trace to make sure something doesn't go too close to an object.

Off to fine tune once again........
Posted By: oliver2s

Re: Basketball - 08/12/03 17:21

I´m making a small basketballgame. I have made 4 blocks, and it doesn´t crash or give any problems. And it looks very good and realistic.
Posted By: seb_dup1

Re: Basketball - 08/12/03 17:36

sess.net,

for the global erp/cfm settings ,try to use something like:

ph_setcorrections(60000,0.01);

With this ,it must prevent some issues.
Posted By: Anonymous

Re: Basketball - 08/13/03 00:56

Yes I agree - the physics in wed works very nicely. If you keep the blocks basic it's rarely glitchy - but with weird angles and planes - it tends to overcalculate some things. I am going to try what Seb said.

Thanks Seb, for the pointer - I am going to try that [Smile]
© 2024 lite-C Forums