(VR) How do I get an object to point at my hand on a specific axis?

So I’m making a toggle switch and I can make it instantly switch. But now I want it to be fully moveable by the player to have it turn on and off realistically. The idea is to make an object(named cylinder in this case) to look at the position of the player’s hand and rotate on the X axis. As shown on the blueprint here:

But instead of that, it is alternating between 50 and -50 as shown on the console:
2

So my question is how can I change the blueprint in order to follow the player’s hand and not alternate between 2 values like it is currently doing?

Nevermind, I fixed it, turns out I needed to use a different node to achieve the result. For anyone experiencing the same issue here is the node I used:
solve

1 Like

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