Script to set Z position of Dummies to Z level of the mesh below them


#1

I have dummies that needs to be moved from any Z height to the height of the mesh below them. How can i achieve something like this using MaxScript?
So like in this example, the Dummy001 should be moved on Z axis so that it’s Z position is exactly at the point of intersection with mesh below it


#2

Check the maxscript reference for “How To … Move Objects to a Surface”


#3

oh, thank you! didn’t know such example exists already :stuck_out_tongue: