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. |
Take a look at the viz.intersect command or the viz.pick command if you are using the mouse position to draw the line.
|
Thank you very much, viz.intersect works great!
|
All times are GMT -7. The time now is 01:08 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC