Reply To: Rotation problem

FlowCanvas Forums Support Rotation problem Reply To: Rotation problem

#1027
Gavalakis
Keymaster

Hey,

If what you are after here is to rotate the cube when you are holding down Fire1 button and moving the mouse scrollwheel up/down (which is what this flowscript does), then you will need to use the Y value of the Vector2 rather than the X. The x delta for the mouse scroll is always 0.

Remember, that what you have created in the image, requires that you are holding down the Fire1 button (which by default in Unity is left mouse click or the control key). Otherwise the Rotate node will not execute.

Let me know.
Thanks!

Join us on Discord: https://discord.gg/97q2Rjh