Gamestudio Links
Zorro Links
Newest Posts
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
Camera always moves upwards?
by clonman. 02/16/26 11:44
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Martin_HH), 7,962 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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 | 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