A door
- Details
- Parent Category: Simple Move
- Created on Friday, 28 May 2010 11:57
- Last Updated on Wednesday, 11 September 2013 14:40
- Published on Friday, 28 May 2010 11:57
- Written by sandrine
- Hits: 203
Do you want a rotating door with soft move ? Easy with Simple Move !
First create your door :

You must add a primitive on the door axis and make it transparent, and link your door to it, the axis primitive must be the root :

Now drop the script Setup Move in your door :

You get a menu :

So put your door in the first position (with good rotation) and click on "DONE" button. You get a new menu :

So put your door in the second position (with good rotation) :

And click on "DONE" button. You get a new menu :

Select one of the 3 buttons : Owner, group or All (the buttons with "cmd" are if you want your door to command another object and button "Passive" if your door is triggered from another object). You get a new menu :

You can choose the time for position 1. If you want your door to stay in the position untill you clic again choose "infinite". You get a new menu :

With this menu you select the transition time, for example 5s is a good value for a door. You get a new menu :

Now you select the transition type : linear or cosinus. This last option is more natural for a door. You get a new menu :

Select the time for position 2. For a door the best way if "Infinite". You get a new menu :

With this menu you select the transition time. You get a new menu :

Now you select the transition type : linear or cosinus. You get a new menu :

You can test your move if you click on "test" :

You can change all paramaters. At the en you click on "End" button :

A new menu that ask you to get the parameters on a web page. Click on "Go to page", copy the elements in a notecard that you call setupmove :

Drop this notecard in the door inventoiry and the script Simple Move :

At the end of the setup your door is ready ! If you want sounds with the movement you must add them :

You must respect these names : SoundPos1 and SoundPos2.

