ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
Adding some Collision Spheres
I´m on building a model about FTS and tried to realise some standard functions of the transporters by using the Collision option. Now I can say, this didn´t work the way I hoped.
For now I don´t need great visualisation, but soon will come to this point. My problems are, that there are different scenarios that can happen, when Transporter meet each other. Depends on what transporter arrived which point at first, or which transporter is in front of the other one. Another Problem is, that all transporters should stop, whenever a Operator crosses their route. But if I stop after hitting the collision sphere, transporters will not go on. So is it possible to find out what collision sphere was hit? Or from which side? Or maybe by what kind of TE?
__________________
Hemmi |
#2
|
||||
|
||||
Quote:
If you use different spheres for different sides, yes. Yes. Please read the documentation in the manual under the following sections: * Pick Lists > Triggers > Collision Trigger * Flexsim Object Library > TaskExecuter (Collision Detection section at the bottom of the page) All the information you are asking about is passed into the Handle Collision trigger as parameters that you can access. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Sebastian Hemmann (02-14-2011) |
#3
|
||||
|
||||
Thanks for your help. I´m a little ashamed about didn´t find this in user manuals on my own
Could you please give me a hint, how to refer to the different spheres? Can´t find out any names or numbers. And there is only one "Handle Collision" option. I´m sure it´s easy to solve, but my head seems to be blocked.
__________________
Hemmi |
#4
|
||||
|
||||
the collisionspheres are under the variables tree of the taskexecuter. Each sphere has its own node.
Simply test the nodetomodelpath(thissphere) in the HandleCollision. Or evalute for the rank of thissphere. |
The Following 2 Users Say Thank You to Jörg Vogel For This Useful Post: | ||
Sebastian Hemmann (02-14-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
collision of Task excecuter | Daniel Schneider | Tips and Tricks | 13 | 11-08-2010 09:54 AM |
Adding a Line Trend in the GUI | JMEngelhart | Tips and Tricks | 1 | 03-08-2010 04:04 AM |
adding a node to a group | Frank Janssen | Q&A | 2 | 02-08-2010 09:34 AM |
adding a button on the tool bar | Pablo Concha | Q&A | 4 | 09-13-2007 10:46 AM |
Adding member eith Flexscript | Lars-Olof Leven | Q&A | 2 | 08-22-2007 08:00 AM |