Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,574 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is scan_entity() supposed to work this way? #18421
10/18/03 09:16
10/18/03 09:16
Joined: Oct 2003
Posts: 164
Canada
sined13 Offline OP
Member
sined13  Offline OP
Member

Joined: Oct 2003
Posts: 164
Canada
Hi,

If I specify the following for scan_entity:

Code:

while(1)
{
temp.pan = 60;
temp.tilt = 360;
temp.z = 100;
scan_entity(my.x,temp);
wait(1);
}



Is the 360 .tilt value supposed to allow you to scan 360 "up/down" like the following picture?

If I use 360 for .pan, then it works like it should...or like I think it should , but with 360 for .tilt, scan_entity does not detect me when I'm behind...only in front. Is this how it works?



Re: Is scan_entity() supposed to work this way? [Re: sined13] #18422
10/30/03 07:11
10/30/03 07:11
Joined: Jan 2002
Posts: 644
USA
tesanders Offline
Developer
tesanders  Offline
Developer

Joined: Jan 2002
Posts: 644
USA
I'm working from memory, so am not 100% sure here -- I believe that 'tilt' will max out at 180 (tilt/2 degrees up and tilt/2 degrees down from the vector described in the 'from' array given to scan_entity()).

Thus, tilt=180, pan=180 will describe the same hemisphere that tilt=360, pan=180 does.

Re: Is scan_entity() supposed to work this way? [Re: tesanders] #18423
10/30/03 08:05
10/30/03 08:05
Joined: Oct 2003
Posts: 164
Canada
sined13 Offline OP
Member
sined13  Offline OP
Member

Joined: Oct 2003
Posts: 164
Canada
Thanks,

where did you get that info? I don't doubt your response, it's just that I would like more detailed information
on how scan_entity works, since I wrote this little "tool" to show the scan cone...I'd like for it to be accurate.

Edit:
Actually, I've updated my little tool since that last image was taken...can you look at the following
link (scroll to the bottom) and tell me if the scan cone reprentations look right? ...if you know

http://www.doncaster.on.ca/~denis/3dgs/ddt/

thanks

Last edited by duh_knee; 10/30/03 08:10.
Re: Is scan_entity() supposed to work this way? [Re: sined13] #18424
10/30/03 14:58
10/30/03 14:58
Joined: Oct 2002
Posts: 2,256
Oz
L
Locoweed Offline
Expert
Locoweed  Offline
Expert
L

Joined: Oct 2002
Posts: 2,256
Oz
I really like that dtt_scan_area(), great idea. The program looks like it would be very useful.

Loco


Professional A8.30
Spoils of War - East Coast Games
Re: Is scan_entity() supposed to work this way? [Re: Locoweed] #18425
10/31/03 00:08
10/31/03 00:08
Joined: Oct 2003
Posts: 164
Canada
sined13 Offline OP
Member
sined13  Offline OP
Member

Joined: Oct 2003
Posts: 164
Canada
thanks!

Feel free to use it

Re: Is scan_entity() supposed to work this way? [Re: sined13] #18426
10/31/03 03:28
10/31/03 03:28
Joined: Jan 2002
Posts: 644
USA
tesanders Offline
Developer
tesanders  Offline
Developer

Joined: Jan 2002
Posts: 644
USA
Quote:

where did you get that info? I don't doubt your response, it's just that I would like more detailed information




Just from memory; since nobody had responded to your query within a week or so, I figured I'd share what little I knew about it.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1