I’m trying to create a door that swings open when you press “E”. It rotates when I press E, however, the door rotates from the center as opposed to at the corner. Here’s a picture of the blueprint and the timeline. I used a float track for the timeline, if that helps at all.
Any help would be much appreciated, seeing as I have a tight deadline. Thanks in advance.
I think this might be of help:
Basically, if you add a dummy component which is positioned where you want to rotate your door around, and use that as the root component, when you call Set Actor Relative Rotation it should then be relative to the dummy components coordinates. I hope that helps (I couldn’t think of a more elegant way); I haven’t tried it but it makes sense to me.
Thank you for the answer, I’ll give that a try