Transform bone on mouse movement

Hey!

I’m trying to make a game where when you move the mouse up, it will move the upperarm up and down, up to 90 degrees.

I’m not entirely sure what to do for this? I’ve looked it up but there really doesn’t seem to be that much, as it seems like quite a specific problem.

Does anyone have any suggestions please? Thanks!

Hey @Selfoccate!

You can try using the mouses vertical axis to set a value clamped between 0 and 90, then using “Transform (Modify) Bone” node with that value plugged in to the corresponding rotation value, possibly as a vector 3.

Hopefully the above points you in the direction you need!

1 Like