View Full Version : Find collision point of line and arbitrary object

01-08-2013, 08:01 AM
is there a way to get the Collision Point between a line and a loaded Object?

Background: I have a groundplane with Hills and want to generate stones that stick in the Plane. So I have to know the height (z-coordinate) of the texture for a given x and y coordinate.

If I could get the collision point of a vertical line and the ground plane I knew the correct height to place the stone.

01-09-2013, 12:13 PM
Take a look at the viz.intersect command or the viz.pick command if you are using the mouse position to draw the line.

01-28-2013, 10:04 AM
Thank you very much, viz.intersect works great!