Raycast

Categories

• Geometry Queries

Description

Finds the first location on a surface that is hit by a ray cast from a given position in a given direction. The Proximity Method parameter specifies how the ray is interpreted:

Parameters

Proximity Method

Method used to compute the proximity:

• 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.

Ports

Inputs

Geometry

The surface to be tested for hits by the ray.

Position

The position from which the ray originates.

Direction

The direction of the ray.

Enable Cutoff Distance

True to only look at locations within a given distance.

Cutoff Distance

Distance within which to look for ray hits.

Outputs

Location

The location at which the ray hit the surface.

Hit

A Boolean indicating whether the ray actually hit the surface.



Autodesk Softimage v.7.5