Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,466 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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