Get Location by Raycast

 
 
 

This compound gets the first location on the surface of the objects that are plugged in here, based on whether or not they are hit by a ray cast from a position and direction that you specify.

If a ray does not hit the surface, the result is filtered — a value of Undefined Location is not returned.

You can output the Hit, Location, Position, and Normal data from the object.

Tasks: Particles/Getters

Output Ports: Hit, Location, Position, Normal

Geometry1

The object whose location data you want to get by ray casting. This must be an object with a surface. Plug in the object's Value output into this port.

Direction

The direction of the ray, with respect to the reference frame of the "self" object.

Enable Cutoff Distance

Toggles the activeness of the Cutoff Distance option.

Cutoff Distance

The maximum distance (in Softimage units) within which the object is considered by the rays.

Proximity Method

Method used to compute the proximity for shooting the rays:

  • Semi-line shoots an infinite ray in one direction.

  • Line shoots a ray in both directions.

  • Segment shoots a ray in one direction and is bounded by the length of the direction vector.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License