thanks for the hint, it works great :-)
Christoph Hormann wrote:
> Joerg Schrammel wrote:
>
>> Hi,
>>
>> I'm using trace() to calculate positions of objects in a landscape
>> (heightfield ).
>> Now i'd like to use the normal of the object (returned into the fourth
>> parameter of the trace function) to rotate the object before placing
>> it onto the landscape.
>>
>> How can i convert a normal-vector into a rotation-vector?
>> Sounds easy but i havn't any clue how to do it.
>> Maybe someone can help ?
>
>
> Have a look at Reorient_Trans() in transforms.inc.
>
> Christoph
>
Post a reply to this message
|