PickPont() to get pos.z
Hi all,
I'm stumbling on Pickpoint() to get the pos.z of my mouse cursor position in 3D space.
I'm not really sure how to use these arguments. Hoping for some help :)
https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_42CD05...
Thank you.
Comments
.
What is wrong with this:
Turn on Snap, run the code above and click on any vertex(for example) in your scene.
Tools and Scripts for Autodesk 3dsMax
*
Perhaps i should have been more clear.
I’m looking to place an already selected object with my mousepointer. So i was thinking that this already selected object should follow my mousecursor but also recognize heights. I want the object to move in pos.z too as i move in 3D space on the x/y axis.. So i can place it on top of a xref rooftop for example. Maybe pos.z can be found by using the normal?
Thanks in advance.
.
Use scripted mouse tool.
Tools and Scripts for Autodesk 3dsMax