In UDK today I learned how to program a door to swing open (or move to the side or any other motion) It involoved using Kismet and a matinee.
First I had to add the door as an interp actor. and open kismet.
I added a matinee block, Double clicked it to open its sub editor. I added a new empty group.
In the new group I made a new movement track.
I pressed enter to add keyframes.
I moved the interp actor and created a trigger.
Select the trigger, go to kismet, rightclick and select new event using trigger_0 touch.
I connect touched to play and untouched to reverse and set max trigger count to 0
The door was ready to be opened and closed
No comments:
Post a Comment