WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-08-2013, 09:01 AM
asdf asdf is offline
Member
 
Join Date: Sep 2012
Posts: 6
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.
Reply With Quote
  #2  
Old 01-09-2013, 01:13 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,462
Take a look at the viz.intersect command or the viz.pick command if you are using the mouse position to draw the line.
Reply With Quote
  #3  
Old 01-28-2013, 11:04 AM
asdf asdf is offline
Member
 
Join Date: Sep 2012
Posts: 6
Thank you very much, viz.intersect works great!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC