c_trace ignore 2 models?

Posted By: Julientdc

c_trace ignore 2 models? - 04/06/08 19:25

Hello,

I use C_TRACE but I have 2 problems with the function.

First: I want to ignore 2 models but not you and me. How I can do it? (I can't do IGNORE_MODELS because I need to trace some models.)

Secondly: My C_TRACE not tracing enought big. How I can trace a bigger zone? I have try to scale my models but that change nothing.

Thank you,
Julien
Posted By: Pappenheimer

Re: c_trace ignore 2 models? - 04/06/08 19:58

It seems that you should use scan instead then, because trace is just a 'line' while scan uses a cone with a size that you write into the function.
Posted By: Slin

Re: c_trace ignore 2 models? - 04/06/08 20:32

You can use IGNORE_FLAG1 to ignore all models with flag1 set.
Posted By: Julientdc

Re: c_trace ignore 2 models? - 04/06/08 20:42

Thank you I will try it \:\)
Posted By: Julientdc

Re: c_trace ignore 2 models? - 04/06/08 21:02

I have tried c_scan:

c_scan(vue.x,vue.pan,vector(120,120,dis_c),SCAN_LIMIT);

But nothing is scanned now... and I don't know how to set my map to enable_scan...: level_load("map.wmb");

Do you have a solution?

Thank you,
Julien
© 2024 lite-C Forums