Using JS to rotate the 3D model with button clicks
I'm working on an experience that shows users how to connect a device. Pop-up instruction steps describe connecting cables to the 3D model's rear. Clicking to go from step to step also plays animation of making the connections. When the user clicks the button to open the last step I want to rotate the 3D model to show the front panel LEDs.
Following the directions above gets a button click to invoke a JS function to rotate the 3D model. However this seems to break the functionality of the on-screen rotation slider I set up for users. Re-applying the slider's binding to the 3D model appears to break the JS function. Is only one thing allowed to rotate the 3D model on its Y axis? Also, I need to rotate the 3D model back to its original position when the user closes the instruction pop-up. Creating another JS function seems to stop the original desired rotation from working.

