Page 561 - ExtendSim User Guide
P. 561

3D Objects 535
Mounting objects
• ForActivityandWorkstationblocks(Itemlibrary),theitem'sobjectismountedbydefault on the block's object for the duration of the activity. This option can be turned off in the block's Item Animation tab. If the option is not checked, the item's object will move up to the block's object but will not mount it.
• Untiltheyarereleased,objectsthatrepresentitemsautomaticallymounttheobjectrepresen- tations of Queue and Resource Item blocks (Item library). This is the blocks' default behav- ior and cannot be turned off.
In QuickView mode, item objects will mount on top of each other when they reach a residence- type block's object. In Concurrent or Buffered mode, they will either mount or line up and move along a path, depending on the block and various settings in its dialog.
An example of an item object being mounted onto a block
object is in the Airline Security model, located at \Exam-
ples\3D Animation. In the hierarchical block labeled “Metal
Detector”, the objects that represent passengers are mounted to the Detector object for the length of time it takes for that part of the process. This is accomplished by choosing in the Activity block to Mount item while activity is ongoing.
☞ Item objects are not mounted on the Convey Item or Transport blocks. Instead, item objects use the from and to location information set in the block’s dialog. This causes the item object to be displayed as moving along the path represented by the block’s object.
Object on item object
You may want to mount an object on an object that represents an item. For example, to mount a piece of paper on a customer in a bank line or to mount a suitcase on a passenger at an air- port.
Mounting an object on an item object is usually accomplished using an Animate 3D or 3D Scenery block (Animation 2D-3D library) and is sometimes done within a hierarchical block to minimize the details at the top level.
An example of an object being mounted onto item objects is in the Airline Security model, located at \Examples\3D Animation.
In the hierarchical block that looks like a door, two Ani- mate 3D blocks create a Suit- case object and then mount it onto the object that represents
the person entering the airport. The
mounting is accomplished by attaching a rider object (Suitcase) onto the mount object, as seen above. The mount object is referenced by the _3D objectID property of the items that pass through this block; the value of the property is the value of the object’s ObjectID (discussed below). Note that at this point the Suitcase object is not associated with an item or block in the 2D model.
Scenery object on scenery object
An example of a scenery object being mounted onto another scenery object is in the Airline Security model, located at \Examples\3D Animation. The Equation block (Value library) just to the right of the “Passport control” section is
Mounting function with arguments

   559   560   561   562   563