Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/25/26 16:09
Z9 getting Error 058
by jcl. 04/24/26 17:48
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Grant), 3,390 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 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: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
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 | 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