User Guide

192 CHAPTER 14
1 Locate the Help\Tutorials\Soccer folder under the directory where Atmosphere was installed. It should be a path
similar to c:\Program Files\Adobe\Atmosphere\Help\Tutorials\Soccer. After navigating to your folder in the open
dialog, select the project fi le Soccer.atmo and press Open.
2 In the Scene Editor, create a new Solid Object that is separate from other Solid objects in the environment.
3 Select the Add Script Preset menu command in the palette menu of the Object Presets palette. This will open a fi le
dialog box.
4 In the fi le dialog box, locate and select the createPhysicalModel.js script in the Extras\Scripts\Set_1_Basic directory
where Atmosphere is installed. Click the Open button to open the script preset.
5 Select the script and place it in the Scene view. Then locate and select the target property in the Scripting tag of
the Inspector palette.
6 Drag from the Whip tool to the Solid Object that includes the soccer ball object. The Solid Object’s name will
appear as the value for the target property.
8 Select File > Publish > World (Ctrl+P) to see the car object rotating about the scene.
A soccer fi eld with a ball that is a PhysicalModel. If you collide with the ball it will be pushed forward in the scene, (but
only if the Collide option is enabled in the Player).