Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / OBJECT HIT(x,0) freezes system?

Author
Message
Walter H M
21
Years of Service
User Offline
Joined: 20th Oct 2002
Location:
Posted: 10th Nov 2002 18:25
Hello there,

I am creating a board game.
The board is made of 85 boxes numbered 101 to 185.
The game is played 48 spheres numbered 1 to 48.
I use this code snippet to test is one of the spheres is
close to an other. The distance to one of the boxes is
not important

FOR x = 1 TO 48
h = OBJECT COLLISION(x ,0)
IF h > 0 AND h 0 AND h 0 AND h
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Nov 2002 02:22
surely it'd be a better idea trying ...


or even better would be ...



Anata aru kowagaru no watashi!
Walter H M
21
Years of Service
User Offline
Joined: 20th Oct 2002
Location:
Posted: 11th Nov 2002 23:05
Thanks for the tip.
My final code:



Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Nov 2002 23:43
no prob

Anata aru kowagaru no watashi!

Login to post a reply

Server time is: 2024-03-29 09:39:38
Your offset time is: 2024-03-29 09:39:38