Vitali Posted September 16, 2018 Share Posted September 16, 2018 Hi, guys. I'm developing the game and I've encountered one interesting problem. In my game I have interactive game objects within the game field. Once you destroy the game object - you can see score point tweenning above this object. I want to support changing screen orientation and I just rotate the main camera to achieve this. But there is the problem.. My score points also rotates with camera and I don't want the player to see his score points rotated. Which is the best way to keep Sprite/Text/BitmapText/Container rotation independetly from camera ? (I want to notice that I don't want this score points to be absolutely independent from camera, because except rotation, I would like to save their position) P.S.: Sorry for my poor English. Link to comment Share on other sites More sharing options...
iKest Posted September 16, 2018 Share Posted September 16, 2018 setRotation(-0.5*Math.Pi) for score object with change orientation event Link to comment Share on other sites More sharing options...
rich Posted September 16, 2018 Share Posted September 16, 2018 I agree. The on,y way to do this is to rotate the scores in the opposite direction to the camera. Link to comment Share on other sites More sharing options...
Recommended Posts