Path finding and obstacle avoidance in Dynamo

Hi, I’m looking for the possibility to move and fit an object withing a building. The final output that I’m looking for are:

  • Find out if is possible to move the object to the final location without hitting any walls and columns. if not possible reduce the width(object short side) until it is possible.
  • Record the each(resolution every 1ft) location and rotation one the moving path.

Are there any path finding / obstacle avoidance function like Unity? Any suggestion and tip? Thank you!


Sample Model:
https://drive.google.com/file/d/1tK8-PefgRvafHkxf2DUoZoKjlrVDSsS3/view?usp=sharing)