Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
why does c_trace must be outside of object? #394754
02/16/12 10:59
02/16/12 10:59
Joined: Oct 2006
Posts: 23
Turkey
_cash_ Offline OP
Newbie
_cash_  Offline OP
Newbie

Joined: Oct 2006
Posts: 23
Turkey
Hi everyone,

For our game,we should make voxelization(we actually achieved but there are still minor problems). However, as i said on subject. c_trace does not work inside of object but i don't understand why. It is not related of being rendered or not because when we make model invisible it is found by c_trace from outside of object. Is there any chance to make it work inside of object.

Thanks

Re: why does c_trace must be outside of object? [Re: _cash_] #394757
02/16/12 11:48
02/16/12 11:48
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
c_trace detects ray/surface collisions. When you're inside an object, the ray does not hit any surface, so c_trace can not detect it. It detects that something is wrong though, when the ray is long enough to go out of the object and hit a surface from behind.


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