Creator Adding physics and avatars

Step-By-Step Tutorial

Step 1. Adding physics to model is simple. In the model's properties, expand the 'Behaviour' stack-panel and click the 'Enabled' box under Physics.

Step 2. To create a spawn portal for avatar, go to Insert > Portal

Step 3. Place the spawn portal in an appropriate location and name it "avatar-portal".

Step 4. Now switch over to the IMML Script Editor.

Step 5. For the purpose of this tutorial, we will be using a multi-user avatar plugin script from here
Download the Avatar-plugin-scripts.txt file, copy all the code and paste it into the IMML Script Editor.

Step 6. Press [Ctrl] + [F] to bring up the Search Menu. Type in 'm.position' in the search field to find the spawn location code of the avatar. Once found, change 'portal' to 'avatar-Portal' in the highlighted line of code as shown below.

Step 7. To set '3rdPersonChase' as the default document camera, type in Camera="3rdPersonChase" In the fist line of code.

Step 8. To save your work, go to Creator button > Save. The park is now ready to be hosted locally on WorldServer Developer Edition. Click Here to continue to the next part of the tutorial.

image1.PNG (80.4 kB) Alec x, 12/01/2010 04:37 am

image3.PNG (81.1 kB) Alec x, 12/01/2010 04:49 am

image2.PNG (68.2 kB) Alec x, 12/01/2010 04:49 am

image4.PNG (193.6 kB) Alec x, 12/01/2010 04:54 am

image5.PNG (121.2 kB) Alec x, 12/01/2010 05:02 am

image6.PNG (156.6 kB) Alec x, 12/01/2010 05:07 am

image7.PNG (131.3 kB) Alec x, 12/01/2010 05:14 am