pointray

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/12/2002 at 16:12, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
I tried to set a startvector as ray with the RayCollider engine like:

    
    
    Vector start = Vector(0,110,0);  
          
        rc->Intersect(start, Vector(0,-1,0), 10000.0);

But it doesn´t seem to work. The initialised intersection object is maybe 10 units under the point, but I don´t get an intersection anyway. why? :
thx
Samir

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/12/2002 at 09:35, xxxxxxxx wrote:

Did you take into account that all coordinates should be in the object system and not in the world system?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/12/2002 at 09:44, xxxxxxxx wrote:

yes, the initialised object is at position 0,0,0. It is a cube so there should be an intersection. Shouldn´t it?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/12/2002 at 22:59, xxxxxxxx wrote:

You have to convert primitives to polygons before calling Init().