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 / Please what's wrong with this 3d sphere code?

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 23rd Apr 2005 05:12
Hi All

what am I doing wrong with this code, I want the second sphere stuck half in half out of the first sphere,

like half cheery on top of icecream ball.


In Space No One can Hear You Scream! (When your comm Line is cut?)
Dark Flame
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: England
Posted: 23rd Apr 2005 07:11 Edited at: 23rd Apr 2005 07:15
Something like this?



RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 23rd Apr 2005 18:03
Gack! You may want to avoid using Glue Object to Limb. Other than the visual of the object being attached to the limb, it's really not much use. Why? Because the object is not really there (or even virtually there ). The object is still in the position it last was in; usually 0,0,0. This is where the collision is. This is where the Object Position X/Y/Z() will return. Everything but the image. Okay - so if you only want the image, Glue Object will work.

Alternates to Glue Object.
1) Add the object on as a limb. You can even link it to a parent limb if needed.
2) Position the object manually at the limb coordinates (with an offset if you like). DB can easily handle this speed-wise.

"Droids don't rip your arms off when they lose." -H. Solo
REALITY II
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 23rd Apr 2005 20:36 Edited at: 23rd Apr 2005 20:37
Very werid would look good if could be made stable?



In Space No One can Hear You Scream! (When your comm Line is cut?)
Dark Flame
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: England
Posted: 23rd Apr 2005 20:39
Like this?



HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 23rd Apr 2005 20:48
I was meaning keeping what it was doing, putting four spheres on the screen at the same time but more stable, just looks as if it could have been a quick way of putting more sphere on the screen at once.

No worrys if not possable just thought it would have been a quick but dirty way of doing something.

In Space No One can Hear You Scream! (When your comm Line is cut?)
Dark Flame
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: England
Posted: 23rd Apr 2005 21:23
Just add more spheres...

Login to post a reply

Server time is: 2024-09-23 17:18:13
Your offset time is: 2024-09-23 17:18:13