THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/07/2011 at 09:03, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I tried the syntax from the R12 API:
I figured out, that the following call will be executed:
id = vd->TraceGeometry(ray,10000,0, &pout, &nout);
But it is just guessing...
On 24/07/2011 at 09:05, xxxxxxxx wrote:
max distance to trace would probably be the second parameter.
On 24/07/2011 at 09:10, xxxxxxxx wrote:
Are you getting an error?
Yeah in c++ SDK 2nd argument is max distance.
On 24/07/2011 at 09:44, xxxxxxxx wrote:
yes, when using the given syntax of the API the message is "too few parameters". When using the guessed syntax, I get at least a 1 back, which implies something worked
I'll use that parameter as the max-distance, I'll have to check if I am able to get it working correctly like that.