Quick Question about stopping a camera event and starting a new one

Hi All,

I’m hoping someone can help. There’s a bunch of features I’ve added, but I’m totally hacking the way I’m stopping a currently running event to start a new one. For example, I have the globe spinning on document ready, so if a user clicks, “fly to your current location”, when it arrives the camera won’t stay steady. Here’s how I “fixed” it ( total hack ), but was wondering what the proper way to do this? Any pointers or anything at all would help. Is this where I’d use scene transform? Or do I destroy the scene all together?

Thanks,

Scott

Here’s what I have but I’d really like to learn the proper way to do this.