Ho to make a static mesh to roatate where you are looking

i have a katana static mesh that i want to rotate forward when i press lmb, but i cant get the katana to rotate on the x axis based on where you are looking.

*how *how

Hi,

You can use the “Find Look at Rotation” node. You’ll just need to provide “front” location based on your characters rotation. Take a look here: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Math/Rotator/FindLookatRotation/index.html

this did not work, i realy want a static mesh to rotate usint the axes of the components, not the world’s x,y and z but the blueprint’s