Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 846 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Question [Re: Gino_Fabrizio] #444283
08/04/14 19:17
08/04/14 19:17
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
nope, with c_trace


3333333333
Re: Question [Re: Gino_Fabrizio] #444285
08/04/14 21:17
08/04/14 21:17
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
use a c_trace instead of scan.

Scan detects through walls

EDIT: Quad got to you first ^_^

Last edited by DLively; 08/04/14 21:18.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Question [Re: DLively] #444288
08/05/14 02:05
08/05/14 02:05
Joined: Jul 2012
Posts: 45
G
Gino_Fabrizio Offline OP
Newbie
Gino_Fabrizio  Offline OP
Newbie
G

Joined: Jul 2012
Posts: 45
So, I place the entity at 1000 height and c_trace in vector(my.x, my.y, my.z - 10000) ?? Thanks laugh

Re: Question [Re: Gino_Fabrizio] #444291
08/05/14 10:41
08/05/14 10:41
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
c_trace(VECTOR* from, VECTOR* to, var mode);

-------------------------------------------

VECTOR* from: where the trace starts, so in your case 'my.x'.

VECTOR* to: where the trace ends. So e.g. your 'vector(my.x, my.y, my.z - 10000)'.

var mode: what you want that your trace ignores (e.g. passable entities).


ps: you should check the manual, it gives examples of c_trace too.

Re: Question [Re: Reconnoiter] #444299
08/05/14 15:59
08/05/14 15:59
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Quote:
ps: you should check the manual, it gives examples of c_trace too.


I second this.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Page 3 of 3 1 2 3

Gamestudio download | chip programmers | 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