Friday, April 15, 2005, 2:17:19 PM, Jonathan wrote:

JR> I am looking for something different, I am creating a draggable object which
JR> happend on exitframe. I want to know where the mouse is near to in 3D, a bit
JR> like the Modelunderloc but from this i only get the value that object.

If you want to find the position vector of the model reference that's returned 
from modelUnderLoc, you can do this:

theModel = modelUnderLoc(point)

modelPos = theModel.getWorldTransform().position



- Ben
_________________
[EMAIL PROTECTED]
www.robotduck.com

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to