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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 946 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c_trace #348122
11/22/10 21:04
11/22/10 21:04
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
im using c_trace a lot but now i am trying to use IGNORE_YOU but the flag doesnt work right i gues

i use c_updatehull(ent,1); for every ent

you = player1; // pointer is right
c_trace(camera.x,temp,IGNORE_PASSABLE | IGNORE_FLAG2 | IGNORE_YOU);

it seems to just to scan the you pointer instead of ignore

is there any explantion execpt the manual for this?


"empty"
Re: c_trace [Re: flits] #348149
11/23/10 02:36
11/23/10 02:36
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
ahm, why not just use ignore_me ? i mean, i assume that when the trace is made, you is changed to whatever it hits

Re: c_trace [Re: darkinferno] #348151
11/23/10 04:13
11/23/10 04:13
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
If you use the IGNORE_YOU flag, then the YOU pointer DOES NOT get replaced by whatever the trace hits...

Put another way ...

If you use IGNORE_YOU, then the YOU pointer REMAINS UNCHANGED regardless if the trace hits anything or not...

Could that be what is going wrong?

Look at the c_trace "Modifies" section for mention of the YOU pointer...


Hope this helps.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

Moderated by  old_bill, Tobias 

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