Optimizing with orientation

This code sample describes how the engine behaves depending on the orientation constraint of each items. The orientation of an item is handled using the attribute 'allowedOrientations'.