Announcement

Collapse
No announcement yet.

How can i change from 2D to 3D while ingame?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How can i change from 2D to 3D while ingame?

    I am making a side scroller game with both 2D and 3D. I want to have so when you press a key your character becomes 2D. I am using the Side Scroller Blueprint. Is it possible to just change the scale of the x value to become 2D with the press of a button while playing the game?

    P.S. I am quite new to Unreal Engine, so any tips would be great.

    Thanks!

    #2
    Yes, but I'd be wary of doing that, as it won't look like you think it will.

    When you say press a button to become 2D, you mean the model becomes flat like a sprite, right?

    Comment


      #3
      Do you mean something like Paper Mario or do you need to go from 3D models to sprites?

      For a Paper Mario "clone" play with the camera and make it go from orthographic projection to perspective, that will make the trick.
      ProBoon, Old-School FPS, Open Source & Tutorials
      Support Project Boon on Patreon

      On Steam Soon, Click Below

      Comment


        #4
        Basically I want it to scale the x axis to extremely low to give the 2D effect, unless there is a better way.

        Comment


          #5
          From paper Mario

          Comment


            #6
            I create this solution, its not final ,because if you move to the left , and then make perspective , you get the control inversed. , I hope this helps.

            Comment


              #7
              I found the problem with inverted control , instead of setworldrotation , use setRelativeRotation ,and that is it!!

              Comment


                #8
                Something more like Super Mario Odyssey?

                Comment

                Working...
                X