Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So, I can easily drop an object to a surface using
MyRay = ray $.pos [0,0,-1]
intersection = intersectRay $terrain MyRay
$.pos = intersection.pos
But this limits me to an arbitrary surface called "terrain".
I was wondering if there's a way to search in the negative z direction until an object is found.
Kind of a collision detection towards the first object that is encountered.
Joey
Solved! Go to Solution.