This seems like a real noob question considering how far along my project is, but I’m wondering what most people use for animating a door swinging open and close.
Currently I’m just using a static mesh actor, and just updating it’s rotation when the player interacts with it. This was just placeholder, and looks like the door just instantly opens.
Do people tend to use matinee for things like this, or some other method?
A while back I wrote an Actor derived class with a SkeletalMeshComponent, Open/Close states and then simply playing animations. This is pretty similar to your placeholder approach. Instead of opening instantly you could slowly rotate the door (interpolate between closed and opened rotations) over some time span.
Kismet/Matinee could be problematic if you need many doors and possibly with multiplayer or dynamically spawned instances (but if that doesn’t apply for you, could be the quickest way to get results).
On Open, rotate the static mesh some degree and then on Close rotate it back to 0.
You could also use a timeline instead and attach it to setActorRotation. Using the reverse feature of the timeline allows a more fluid movement from the door’s current position.
Sorry! My post won’t work for you. I didn’t realize this was Unreal Engine 3/UDK area, I got here from searching the forums and noticed the question. Thought it was UE4.
You can use Matinee and Kismet though. This should be helpful: UDK | KismetExamples
HEy unit23. I cannot understand what is frame object. I just have my doors and physics contraint. Have no clue how to set it and what about that FRAME entry there?
Come on guys, I consider to be prop/environment artist and gameplay is not of my concern. Is there any link to setting blueprint class door that will open on key press and close, so that I dont spend half of my lifetime reading through all the google results, and entire unreal documentation. Just to copy pasta bloody door functioning and done