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 / radius of a skysphere?

Author
Message
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 25th Jan 2008 03:54
How do you find the radius of a skysphere if you didn't set the size of it?

If at first you dont succeed, LOWER YOUR STANDARDS.
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 25th Jan 2008 04:52
I am not sure I understand your question. If you created the sky sphere then you had to set it's size.


Whatever...
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 25th Jan 2008 04:53


thats all I had to do to get it to load correctly.

If at first you dont succeed, LOWER YOUR STANDARDS.
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 25th Jan 2008 05:04
No. You need an object number to get it to load.

To get it's size try:




Whatever...
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 25th Jan 2008 05:07
fair enough, and thanks for that function... i was using skysphereobjnum for that forgot to include that. Didn't know the obj size function though, so thanks again

If at first you dont succeed, LOWER YOUR STANDARDS.
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 25th Jan 2008 05:18
Just glad to be of help.


Whatever...
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 25th Jan 2008 05:21
heh, sense its a sphere i only need one value ...

If at first you dont succeed, LOWER YOUR STANDARDS.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 25th Jan 2008 08:28
size#=object size(skysphereobjnum)

or

size#=object size(skysphereobjnum,1)

if it has been scaled by you.


Come see the WIP!

Login to post a reply

Server time is: 2024-09-27 10:36:26
Your offset time is: 2024-09-27 10:36:26