mapacarta Posted July 24, 2018 Share Posted July 24, 2018 I am using zoom feature in my game, but I want to prevent zooming on some of the object. Is there anything like setZoomFactor? (like setScrollFactor(0) to prevent scrolling) Link to comment Share on other sites More sharing options...
samme Posted July 24, 2018 Share Posted July 24, 2018 I don't think so. You could add a second camera and split the game objects between it and the main camera using ignore. Or you could use a second scene. reseto and mapacarta 1 1 Link to comment Share on other sites More sharing options...
NoxBrutalis Posted July 24, 2018 Share Posted July 24, 2018 Yeah, if you're talking about your UI elements then, use a different scene is your best bet. mapacarta and reseto 1 1 Link to comment Share on other sites More sharing options...
mapacarta Posted July 25, 2018 Author Share Posted July 25, 2018 Thanks, I will try adding a second camera or a different scene. Or maybe I just get rid of all the zooming Link to comment Share on other sites More sharing options...
reseto Posted August 27, 2018 Share Posted August 27, 2018 Thanks, I tried adding a different scene and all works. Link to comment Share on other sites More sharing options...
Recommended Posts