Notifications
Clear all
[Closed] Recursive branching
Jan 21, 2015 5:59 pm
Hello! I am an enthusiast that started with maxscript quite recently and who has a question that couldn’t answer by himself.
I’m writing a recursive branching script and I’d like to stop the branches from growing as soon as they hit a surface.
This is a screenshot of it
Do you have any idea how can i achieve this?
Thanks
2 Replies
Jan 21, 2015 5:59 pm
A blind guess would be that you can build a Ray and use it with intersectRay(), intersectRayEx() or intersectRayScene().
As Rotem suggested, a piece of code is always appreciated if you need to solve a specific problem.