Rotate an object from its end (Drawbridge)

Hello,

I was just wondering how could I rotate an object like a rectangle from its end and not from its middle so that I could get a Drawbridge-like movement, the only solution I have found is to adjust its location during rotation to keep it in place but there must be a way to do this properly.

Thank you for your help !

You could simply rotate it and after rotation apply the forward vector or you could adjust the the static mesh component’s location inside the blueprint

When you apply a rotation, it is done around a central point. I’m assuming this point is somewhere within your object, rather than on one of the edges you require. Moving this central pivot point to the edge will allow you to rotate an object from that given point.

You may need to change the pivot point in some other modelling software and not the engine I think.

Yes changeing the pivot works as well but its much harder to find the center of the model if you relocate it