As all the code was already in place for the gate actions it was a simple step to attach the sound cues to each gate.
The screen grab shows the extra nodes that were added to the Kismet sequence. The gate movement is controlled by the 'Jail_Bars' Matinee and the other Matinee shown controls the lever that needs to be pulled in order to open the gate. As the animation of the lever moving lasts 1 second, a delay of the same value was added to offset the gate opening and sound playing. This gave a more natural feel to the action as well as freeing some space to insert a sound for the lever itself. This same setup was also copied over to all the other gate sequences within the Kismet.
No comments:
Post a Comment