How to rotate an attached mesh?

This is for a Beat Em Up style game. The character picks up and drinks from a beer bottle and there is a health effect / invulnerability effect, then I want the bottle to rotate 180 degrees so he is holding it like a melee weapon which can be used for a one shot up close (bottle breaking sound, and glass break particle effects) or thrown.

I want to know the proper way to rotate that mesh so its not being held like to drink of it. But this is after the player drinks of it.

Any help is appreciated, thanks.

Since it’s attached, Set Relative Rotation.


If you’re not sure how to arrive at the correct rotation, have a look at the Combine Rotators node. Note the order you plug in rotators does matter. Alternatively, Find Look At Rotation; you can also (Inverse) Transforms Rotators in local / world space. Read the nodes’ tooltips.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.