|
|
On 27/03/2018 20:04, Alain wrote:
> Le 18-03-27 à 05:28, Sven Littkowski a écrit :
>> Thanks. I heard about that function, but have problems to handle it.
>>
>> But never mind, I have all coordinates of the entire scene in my mind. I
>> find it difficult to learn to work with so-called WYSIWYG editors, I
>> hand-code everything. :-)
>>
>> ---
>> Diese E-Mail wurde von AVG auf Viren geprüft.
>> http://www.avg.com
>>
>
> You mostly need to remenber that trace(object, start, direction) use a
> start location and a direction. If you change the last value, you'll
> trace in different directions.
>
> trace(Deck, <PosX, 1000, PosZ>, -y)
Even I can use it. ;-)
Use PosX, PosZ to describe a grid with a loop. And check that
(vlength (Norm)!=0) and do some stuff
Hmm! I had an extra variable:
#declare Inter = trace (Trace_object_,< Pos_x, Pos_y, Pos_z >, z, Norm);
#if (vlength (Norm)!=0)
Then do some stuff.
#end
Alain probably knows and uses a more efficient way of coding it than I
do/can.
--
Regards
Stephen
Post a reply to this message
|
|