Changing device orientation with a rule?
I just started work on a concept idea and I'm testing it before I base my entire game around it. Is it possible to rotate an entire scene based on a collision between two actors? I've just experimented with changing the Screen.Device Orientation to "Landscape Right" which does nothing. As far as I can see there aren't many other options around that will let me do this.
For the idea I have in mind, simply rotating the device will make the game far too difficult to control. Any help would be greatly appreciated!
For the idea I have in mind, simply rotating the device will make the game far too difficult to control. Any help would be greatly appreciated!
This discussion has been closed.
Comments
You can only do this with an actor that is INSTANCED in the scene. Otherwise, it doesn't have access to the camera attributes.
Put an actor in your scene. The double click on it from the scene window. Then click on the padlock to make it a unique instance.
Now, you can create Rules that change Attributes relating to the camera.
Instead of just having access to categories of Attributes such as Game, Devices, and Actor, you can also get into the Attributes for Current Scene, including Camera > Origin, Size, Tracking Area and Rotation.
You can mess around with the camera rotation there.
I'm not sure if there's a way to do that without making a non-prototype actor. Bit of a hassle, because it's hard to share these behaviours between different scenes, because they're not stored in the prototypes, because the prototypes don't have access to the Scene > Camera Attributes. Oh well.
- Murray
Cheers
Liamo
closing this