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.

Newcomers DBPro Corner / Sky Sphere is colliding with my model - How do I stop it?

Author
Message
Dr BOK
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 21st Jun 2003 18:33
I was getting frustrated at some code then I had the idea of printing the

object collision(1,0)

To the screen. To my surprise my sky sphere was colliding with the model. Are the primitives solid? Im wondering how to sort this out but the only solution I used that worked was removing the sky sphere. Heres some code.
Thanks.
Flawless Designs
Oliver
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 21st Jun 2003 18:43
Not sure what you think the problem is :-| , I think a primitive is solid unless you set it to polygon collision. Why do you have collision with the sphere anyway, if it is always position the same place as the player. You could switch it off.

At little more information could be helpful.
Dr BOK
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 21st Jun 2003 18:47
Hmm I'm not sure exactly what information you need but how can you turn off the collision of the skysphere :/ (lol)

Flawless Designs
Shadow
23
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 21st Jun 2003 20:01
I get what the problem is. Dr BOK is saying that object collision(1,0) constantly returns the value of the sky sphere (due to object 1 being inside it).
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 21:42
have you tried SET OBJECT COLLISION OFF object number ?
just wondered, page 76 in the pro manual and 112 in the classic manual, cheers.

Mentor.

haXor
23
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 22nd Jun 2003 02:11
well why do u want it to collide with the scy sphere in the first place? just make it so when the player moves, the sphere moves with it, that way you will never run into it, but you can still see it, if thats what ur asking
~haXor

Sup Kids
Dr BOK
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 22nd Jun 2003 04:38
Yes thats what I was doing haXor, but it kept returning the collision of the sky sphere.
Mentor - I must have overlooked (more like not knew it existed ) that command , it was the solution. Thanks a lot.

Flawless Designs

Login to post a reply

Server time is: 2026-07-06 03:59:25
Your offset time is: 2026-07-06 03:59:25