|
#1
|
|||
|
|||
Find collision point of line and arbitrary object
Hi,
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. Last edited by asdf; 01-08-2013 at 09:04 AM. |
#2
|
|||
|
|||
Take a look at the viz.intersect command or the viz.pick command if you are using the mouse position to draw the line.
|
#3
|
|||
|
|||
Thank you very much, viz.intersect works great!
|
|
|