eyranim Posted December 9, 2018 Share Posted December 9, 2018 Hello everyone. I'm new to Babylon and I've been working on a project. I want to rotate the uploaded mesh when its clicked. I came up with a solution. However, after rotating an object and trying to do the same thing to another one, the first one stays "selected" and both them rotate together. But what I want is that after I'm done rotating the first clicked object I want it to be "unselected" so that all of my objects won't rotate at the same time. Maybe because I'm new at this I'm missing something so I'm okay with changing my approach and doing what I want with a different way. Is there any other way to do what i want or am I missing something in my code? I set up a playground so you can see the problem there. https://www.babylonjs-playground.com/#LDNW87 Thank you for your help, Eyra. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.