Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (degenerate_762, AndrewAMD, Ayumi), 1,321 guests, and 3 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
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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