Good morning gentlemen. How do I create a collision control for the cranes of my project? I have two cranes in one MultiPortalCrane, and sometimes a bridge prevents the passage of the other. I need you identified when a collision, the bridge is blocking the passage must be moved to make way.
you can insert a Method and implement your strategy to resolve a detected collision.
For this you can link your control to the portal tab for "Collision detect:" This method needs to have two parameter of type object and a result of type boolean.
(Please have a look to the online help as well...) The two portals where a future collision is detected are passed to your control. Then you can wait e.g. with one portal and move the other out of the critical zone.