- Home /
Switching Between "Dimensions"?
I have an idea for a game where you would switch between a 2D style game (like FTL) and a 3D FPS style game. Does Unity support something like that, where for example a character walks into a doorway during 2D mode, then it switches into FPS mode? Thanks for answers.
Answer by Nick4 · Jun 19, 2014 at 05:20 AM
It's not a question of Unity supporting it or not. It's a programming question and It's %100 possible. Just create two cameras, one that views from the side and other that views first - person. Put trigger colliders at each doorway and name them camera portals. Whenever you hit a camera portal, switch the cameras, controllers and other necessary stuffs if there are any.
Another option would be to change scenes at each doorway.
Unity inherently runs everything in 3D, even stuff that is normally 2D. So the engine will be fine.
Now program$$anonymous$$g a 4D game, that may be beyond Unity's native capacity. There is no reason why C# could not handle an nD game though, if you were willing to rewrite a bunch of stuff.
Your answer
Follow this Question
Related Questions
Making A Tileset 1 Answer
How do I make a 2D character/npc follow the player using texture offsetting 0 Answers
How can i change this c# script from 3D to 2D ? 0 Answers
3D game is 2D 1 Answer
Help on a 2d game. 1 Answer