Forum Discussion
Rotation of an object around a fixed point
Hi Florent,
I recommend using a dial (see attached).
I (very roughly) cut out the lever in Photoshop, duplicated it and rotated the duplicated piece 180 degrees. I made the duplicated piece 95% transparent, just so you could see it (for your actual application, you'll want to make the duplicated piece 100% transparent). I merged the visible and nearly invisible lever into one object and saved that as a PNG. I imported the PNG into Storyline and converted the lever into a dial. I adjusted the dial start and end points to span 80 degrees. Lastly, I cut a small piece of the base of the device to overlay the rotation point (otherwise, even though it was visible, the full base graphic blocked the ability for the user to drag the lever).
It's very rough but I think you'll get the idea when you try it out.
- FlorentALLAIRE3 months agoCommunity Member
Hi Steve, thanks for your help.
I'm able now to rotate the lever around its own axis perfectly, when I slide it with the mouse cursor. Now I have to find, how Storyline can detect the final position of the lever, when I slide it with the mouse cursor (means: click and slide the object until a specific point) Which should be a condition to engage after, another action. Thank you again, best regards.