Also, I did get a concept working for LINES only. See attached lisp & drawing.
Notes:
- Sometimes lines move to 2nd barrier (obstacle) instead of first. Not sure why? It's a rare occurrence.
- For some reason after running command on lines ONCE, it will not let me move them a second time? (can someone explain why?)
To Do:
- Add ability for more entities to slide (and slide into)
- Increase performance by not selecting ALL entities to detect for collision, but rather only determine/select potential entities based on user-provided direction.
- Continually improve efficiency for functions.
Screenshots Before & After SLIDE(s):
Best,
~DD